23namespace Experimental {
54template <
typename BinContentType>
135 template <std::
size_t N>
160 template <
typename... A>
163 return fEngine.GetBinContent(args...);
213 template <
typename... A>
214 void Fill(
const std::tuple<A...> &args)
241 template <
typename... A>
271 template <
typename... A>
Histogram statistics of unbinned values.
void Add(const RHistStats &other)
Add all entries from another statistics object.
void Clear()
Clear this statistics object.
void Fill(const std::tuple< A... > &args)
Fill an entry into this statistics object.
double ComputeNEffectiveEntries() const
Compute the number of effective entries.
std::uint64_t GetNEntries() const
double ComputeMean(std::size_t dim=0) const
Compute the arithmetic mean of unbinned values.
double ComputeStdDev(std::size_t dim=0) const
Compute the standard deviation of unbinned values.
A histogram for aggregation of data along multiple dimensions.
RHist(const RHist< BinContentType > &)=delete
The copy constructor is deleted.
RHist(RHist< BinContentType > &&)=default
Efficiently move construct a histogram.
double ComputeMean(std::size_t dim=0) const
Compute the arithmetic mean of unbinned values.
std::size_t GetNDimensions() const
RHist< BinContentType > & operator=(RHist< BinContentType > &&)=default
Efficiently move a histogram.
void Fill(const std::tuple< A... > &args)
Fill an entry into the histogram.
RHistStats fStats
The global histogram statistics.
void Fill(const std::tuple< A... > &args, RWeight weight)
Fill an entry into the histogram with a weight.
RHistEngine< BinContentType > fEngine
The histogram engine including the bin contents.
double ComputeNEffectiveEntries() const
Compute the number of effective entries.
RHist(std::vector< RAxisVariant > axes)
Construct a histogram.
const RHistStats & GetStats() const
const RHistEngine< BinContentType > & GetEngine() const
RHist(std::size_t nNormalBins, double low, double high)
Construct a one-dimensional histogram engine with a regular axis.
void Streamer(TBuffer &)
ROOT Streamer function to throw when trying to store an object of this class.
void Fill(const A &...args)
Fill an entry into the histogram.
std::size_t GetTotalNBins() const
double ComputeStdDev(std::size_t dim=0) const
Compute the standard deviation of unbinned values.
void Add(const RHist< BinContentType > &other)
Add all bin contents and statistics of another histogram.
const BinContentType & GetBinContent(const std::array< RBinIndex, N > &indices) const
Get the content of a single bin.
const std::vector< RAxisVariant > & GetAxes() const
RHist< BinContentType > & operator=(const RHist< BinContentType > &)=delete
The copy assignment operator is deleted.
RHist(RHistEngine< BinContentType > engine)
Private constructor based off an engine.
const BinContentType & GetBinContent(const A &...args) const
Get the content of a single bin.
RHist< BinContentType > Clone() const
Clone this histogram.
void Clear()
Clear all bin contents and statistics.
std::uint64_t GetNEntries() const
A regular axis with equidistant bins in the interval .
Buffer base class used for serializing objects.
A weight for filling histograms.