YODA::XStatsMixin< Derived > Struct Template Reference CRTP mixin introducing convenience aliases to access statistics along X axis. More...
Detailed Descriptiontemplate<class Derived> struct YODA::XStatsMixin< Derived > CRTP mixin introducing convenience aliases to access statistics along X axis. Definition at line 73 of file BinnedUtils.h. Member Function Documentation◆ xMean()
template<class Derived >
Calculate the mean on X axis. Definition at line 79 of file BinnedUtils.h. 79 {
81 }
double mean(const std::vector< int > &sample) Calculate the mean of a sample. Definition MathUtils.h:391 References YODA::mean(). ◆ xRMS()
template<class Derived >
Calculate the RMS on X axis. Definition at line 99 of file BinnedUtils.h. 99 {
100 return static_cast<const Derived*>(this)->rms(0, includeOverflows);
101 }
◆ xStdDev()
template<class Derived >
Calculate the standard deviation on X axis. Definition at line 89 of file BinnedUtils.h. 89 {
91 }
double stdDev(const double sumWX, const double sumW, const double sumWX2, const double sumW2) Calculate the weighted standard deviation of a sample. Definition MathUtils.h:458 References YODA::stdDev(). ◆ xStdErr()
template<class Derived >
Calculate the standard error on X axis. Definition at line 94 of file BinnedUtils.h. 94 {
96 }
double stdErr(const double sumWX, const double sumW, const double sumWX2, const double sumW2) Calculate the weighted standard error of a sample. Definition MathUtils.h:470 References YODA::stdErr(). ◆ xVariance()
template<class Derived >
Calculate the variance on X axis. Definition at line 84 of file BinnedUtils.h. 84 {
86 }
double variance(const double sumWX, const double sumW, const double sumWX2, const double sumW2) Calculate the weighted variance of a sample. Definition MathUtils.h:421 References YODA::variance(). The documentation for this struct was generated from the following file:
Generated on Mon Oct 28 2024 13:47:24 for YODA - Yet more Objects for Data Analysis by 1.9.8 |