YODA::ZStatsMixin< Derived > Struct Template Reference CRTP mixin introducing convenience aliases to access statistics along Z axis. More...
Detailed Descriptiontemplate<class Derived> struct YODA::ZStatsMixin< Derived > CRTP mixin introducing convenience aliases to access statistics along Z axis. Definition at line 252 of file BinnedUtils.h. Member Function Documentation◆ zMean()
template<class Derived >
Calculate the mean on Z axis. Definition at line 258 of file BinnedUtils.h. 258 {
260 }
double mean(const std::vector< int > &sample) Calculate the mean of a sample. Definition MathUtils.h:391 References YODA::mean(). ◆ zRMS()
template<class Derived >
Calculate the RMS on Z axis. Definition at line 278 of file BinnedUtils.h. 278 {
279 return static_cast<const Derived*>(this)->rms(2, includeOverflows);
280 }
◆ zStdDev()
template<class Derived >
Calculate the standard deviation on Z axis. Definition at line 268 of file BinnedUtils.h. 268 {
270 }
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(). ◆ zStdErr()
template<class Derived >
Calculate the standard error on Z axis. Definition at line 273 of file BinnedUtils.h. 273 {
275 }
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(). ◆ zVariance()
template<class Derived >
Calculate the variance on Z axis. Definition at line 263 of file BinnedUtils.h. 263 {
265 }
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 |