15 #ifndef ROOT7_THistStats_h
16 #define ROOT7_THistStats_h
24 template <
int DIMENSIONS,
class PRECISION>
class THistImplBase;
27 template<
int DIMENSIONS,
class PRECISION>
30 using Coord_t = std::array<double, DIMENSIONS>;
47 return std::vector<double>{sqrtcont, sqrtcont};
53 template<
int DIMENSIONS,
class PRECISION>
74 template<
int DIMENSIONS,
class PRECISION>
95 template<
int DIMENSIONS,
class PRECISION>
Namespace for new ROOT classes and functions.
void Fill(const Coord_t &x, Weight_t weightN=1.)
int64_t GetEntries() const
void FillN(const std::array_view< Coord_t > xN)
void FillN(const std::array_view< Coord_t > xN, const std::array_view< Weight_t > weightN)
void FillN(const std::array_view< Coord_t > xN)
void FillN(const std::array_view< Coord_t > xN)
THistStatRuntime(bool uncertainty, std::vector< bool > &moments)
void Fill(const Coord_t &, Weight_t=1.)
std::array< double, DIMENSIONS > Coord_t
void FillN(const std::array_view< Coord_t > xN, const std::array_view< Weight_t >)
void FillN(const std::array_view< Coord_t > xN, const std::array_view< Weight_t > weightN)
constexpr size_type size() const noexcept
static void moments(ROOT::Math::Vavilov &v, double &integral, double &mean, double &variance, double &skewness, double &kurtosis)
void FillN(const std::array_view< Coord_t > xN, const std::array_view< Weight_t > weightN)
void Fill(const Coord_t &x, Weight_t weightN=1.)
void FillN(const std::array_view< Coord_t > xN)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
void Fill(const Coord_t &x, Weight_t weightN=1.)
Interface class for THistImpl.
std::vector< double > GetBinUncertainties(int binidx, const Detail::THistImplBase< DIMENSIONS, PRECISION > &hist) const
virtual PRECISION GetBinContent(int binidx) const =0
Get the bin content (sum of weights) for bin index binidx.