BinnedUtils.h
Go to the documentation of this file.
30 enable_if_CAxisT<T> xMin() const { return static_cast<const Derived*>(this)->template min<0>(); }
34 enable_if_CAxisT<T> xMax() const { return static_cast<const Derived*>(this)->template max<0>(); }
121 enable_if_CAxisT<T> yMin() const { return static_cast<const Derived*>(this)->template min<1>(); }
125 enable_if_CAxisT<T> yMax() const { return static_cast<const Derived*>(this)->template max<1>(); }
210 enable_if_CAxisT<T> zMin() const { return static_cast<const Derived*>(this)->template min<2>(); }
214 enable_if_CAxisT<T> zMax() const { return static_cast<const Derived*>(this)->template max<2>(); }
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 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 std::enable_if_t< std::is_floating_point< EdgeT >::value, EdgeT > enable_if_CAxisT Checks if edge type is continuous and returns edge type. Definition BinningUtils.h:26 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 double mean(const std::vector< int > &sample) Calculate the mean of a sample. Definition MathUtils.h:391 size_t numBinsX(const bool includeOverflows=false) const Number of bins along the X axis. Definition BinnedUtils.h:24 std::vector< EdgeT > xEdges(const bool includeOverflows=false) const All bin edges on X axis. +-inf edges are included. Definition BinnedUtils.h:37 void rebinXBy(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:50 void rebinX(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:58 void rebinX(const std::vector< double > &newedges) Definition BinnedUtils.h:62 void rebinXTo(const std::vector< double > &newedges) Definition BinnedUtils.h:54 std::enable_if_t< std::is_floating_point< T >::value, std::vector< T > > xWidths(const bool includeOverflows=false) const All widths on X axis. Definition BinnedUtils.h:46 CRTP mixin introducing convenience aliases to access statistics along X axis. Definition BinnedUtils.h:73 double xMean(const bool includeOverflows=true) const noexcept Calculate the mean on X axis. Definition BinnedUtils.h:79 double xVariance(const bool includeOverflows=true) const noexcept Calculate the variance on X axis. Definition BinnedUtils.h:84 double xRMS(const bool includeOverflows=true) const noexcept Calculate the RMS on X axis. Definition BinnedUtils.h:99 double xStdDev(const bool includeOverflows=true) const noexcept Calculate the standard deviation on X axis. Definition BinnedUtils.h:89 double xStdErr(const bool includeOverflows=true) const noexcept Calculate the standard error on X axis. Definition BinnedUtils.h:94 CRTP mixin introducing convenience aliases along Y axis. Definition BinnedUtils.h:109 void rebinYTo(const std::vector< double > &newedges) Definition BinnedUtils.h:145 size_t numBinsY(const bool includeOverflows=false) const Number of bins along the Y axis. Definition BinnedUtils.h:115 void rebinY(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:149 void rebinYBy(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:141 std::vector< EdgeT > yEdges(const bool includeOverflows=false) const All bin edges on Y axis. +-inf edges are included. Definition BinnedUtils.h:128 std::enable_if_t< std::is_floating_point< T >::value, std::vector< T > > yWidths(const bool includeOverflows=false) const All widths on Y axis. Definition BinnedUtils.h:137 void rebinY(const std::vector< double > &newedges) Definition BinnedUtils.h:153 CRTP mixin introducing convenience aliases to access statistics along Y axis. Definition BinnedUtils.h:163 double yStdDev(const bool includeOverflows=true) const noexcept Calculate the standard deviation on Y axis. Definition BinnedUtils.h:179 double yVariance(const bool includeOverflows=true) const noexcept Calculate the variance on Y axis. Definition BinnedUtils.h:174 double yMean(const bool includeOverflows=true) const noexcept Calculate the mean on Y axis. Definition BinnedUtils.h:169 double yRMS(const bool includeOverflows=true) const noexcept Calculate the RMS on Y axis. Definition BinnedUtils.h:189 double yStdErr(const bool includeOverflows=true) const noexcept Calculate the standard error on Y axis. Definition BinnedUtils.h:184 CRTP mixin introducing convenience aliases along Z axis. Definition BinnedUtils.h:198 void rebinZBy(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:230 size_t numBinsZ(const bool includeOverflows=false) const Number of bins along the Z axis. Definition BinnedUtils.h:204 std::vector< EdgeT > zEdges(const bool includeOverflows=false) const All bin edges on Z axis. +-inf edges are included. Definition BinnedUtils.h:217 std::enable_if_t< std::is_floating_point< T >::value, std::vector< T > > zWidths(const bool includeOverflows=false) const All widths on Z axis. Definition BinnedUtils.h:226 void rebinZ(unsigned int n, size_t begin=1, size_t end=UINT_MAX) Definition BinnedUtils.h:238 void rebinZTo(const std::vector< double > &newedges) Definition BinnedUtils.h:234 void rebinZ(const std::vector< double > &newedges) Definition BinnedUtils.h:242 CRTP mixin introducing convenience aliases to access statistics along Z axis. Definition BinnedUtils.h:252 double zStdDev(const bool includeOverflows=true) const noexcept Calculate the standard deviation on Z axis. Definition BinnedUtils.h:268 double zStdErr(const bool includeOverflows=true) const noexcept Calculate the standard error on Z axis. Definition BinnedUtils.h:273 double zRMS(const bool includeOverflows=true) const noexcept Calculate the RMS on Z axis. Definition BinnedUtils.h:278 double zMean(const bool includeOverflows=true) const noexcept Calculate the mean on Z axis. Definition BinnedUtils.h:258 double zVariance(const bool includeOverflows=true) const noexcept Calculate the variance on Z axis. Definition BinnedUtils.h:263 Generated on Mon Oct 28 2024 13:47:23 for YODA - Yet more Objects for Data Analysis by 1.9.8 |