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>;
36 fEntries += xN.
size();
39 fEntries += xN.
size();
47 return std::vector<double>{sqrtcont, sqrtcont};
53 template<
int DIMENSIONS,
class PRECISION>
61 Base_t::Fill(x, weightN);
66 Base_t::FillN(xN, weightN);
74 template<
int DIMENSIONS,
class PRECISION>
82 Base_t::Fill(x, weightN);
87 Base_t::FillN(xN, weightN);
95 template<
int DIMENSIONS,
class PRECISION>
105 Base_t::Fill(x, weightN);
110 Base_t::FillN(xN, weightN);
Namespace for new ROOT classes and functions.
void Fill(const Coord_t &x, Weight_t weightN=1.)
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)
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)
std::vector< double > GetBinUncertainties(int binidx, const Detail::THistImplBase< DIMENSIONS, PRECISION > &hist) const
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.
virtual PRECISION GetBinContent(int binidx) const =0
Get the bin content (sum of weights) for bin index binidx.
int64_t GetEntries() const