YODA::YStatsMixin< Derived > Struct Template Reference CRTP mixin introducing convenience aliases to access statistics along Y axis. More...
Detailed Descriptiontemplate<class Derived> struct YODA::YStatsMixin< Derived > CRTP mixin introducing convenience aliases to access statistics along Y axis. Definition at line 163 of file BinnedUtils.h. Member Function Documentation◆ yMean()
template<class Derived >
Calculate the mean on Y axis. Definition at line 169 of file BinnedUtils.h. 169 {
171 }
double mean(const std::vector< int > &sample) Calculate the mean of a sample. Definition MathUtils.h:391 References YODA::mean(). ◆ yRMS()
template<class Derived >
Calculate the RMS on Y axis. Definition at line 189 of file BinnedUtils.h. 189 {
190 return static_cast<const Derived*>(this)->rms(1, includeOverflows);
191 }
◆ yStdDev()
template<class Derived >
Calculate the standard deviation on Y axis. Definition at line 179 of file BinnedUtils.h. 179 {
181 }
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(). ◆ yStdErr()
template<class Derived >
Calculate the standard error on Y axis. Definition at line 184 of file BinnedUtils.h. 184 {
186 }
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(). ◆ yVariance()
template<class Derived >
Calculate the variance on Y axis. Definition at line 174 of file BinnedUtils.h. 174 {
176 }
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 |