Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Experimental::RHist< BinContentType > Class Template Referencefinal

template<typename BinContentType>
class ROOT::Experimental::RHist< BinContentType >

A histogram for aggregation of data along multiple dimensions.

Every call to Fill increments the bin content and is reflected in global statistics:

hist.Fill(8.5);
// hist.GetBinContent(ROOT::Experimental::RBinIndex(3)) will return 1
A histogram for aggregation of data along multiple dimensions.
Definition RHist.hxx:65
void Fill(const std::tuple< A... > &args)
Fill an entry into the histogram.
Definition RHist.hxx:333

The class is templated on the bin content type. For counting, as in the example above, it may be an integral type such as int or long. Narrower types such as unsigned char or short are supported, but may overflow due to their limited range and must be used with care. For weighted filling, the bin content type must not be an integral type, but a floating-point type such as float or double, or the special type RBinWithError. Note that float has a limited significand precision of 24 bits.

An object can have arbitrary dimensionality determined at run-time. The axis configuration is passed as a vector of RAxisVariant:

std::vector<ROOT::Experimental::RAxisVariant> axes;
axes.push_back(ROOT::Experimental::RRegularAxis(10, {5, 15}));
axes.push_back(ROOT::Experimental::RVariableBinAxis({1, 10, 100, 1000}));
// hist.GetNDimensions() will return 2
A regular axis with equidistant bins in the interval .
An axis with variable bins defined by their edges.
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 65 of file RHist.hxx.

Public Member Functions

template<typename... Axes>
 RHist (const RAxisVariant &axis1, const Axes &...axes)
 Construct a histogram.
 RHist (const RHist &)=delete
 The copy constructor is deleted.
 RHist (RHist &&)=default
 Efficiently move construct a histogram.
 RHist (std::initializer_list< RAxisVariant > axes)
 Construct a histogram.
 RHist (std::uint64_t nNormalBins, std::pair< double, double > interval)
 Construct a one-dimensional histogram with a regular axis.
 RHist (std::vector< RAxisVariant > axes)
 Construct a histogram.
 ~RHist ()=default
RHistoperator= (const RHist &)=delete
 The copy assignment operator is deleted.
RHistoperator= (RHist &&)=default
 Efficiently move a histogram.
void Streamer (TBuffer &)
 ROOT Streamer function to throw when trying to store an object of this class.
Accessors
const RHistEngine< BinContentType > & GetEngine () const
const RHistStatsGetStats () const
const std::vector< RAxisVariant > & GetAxes () const
std::size_t GetNDimensions () const
std::uint64_t GetTotalNBins () const
std::uint64_t GetNEntries () const
template<std::size_t N>
const BinContentType & GetBinContent (const std::array< RBinIndex, N > &indices) const
 Get the content of a single bin.
const BinContentType & GetBinContent (const std::vector< RBinIndex > &indices) const
 Get the content of a single bin.
template<typename... A>
const BinContentType & GetBinContent (const A &...args) const
 Get the content of a single bin.
RBinIndexMultiDimRange GetFullMultiDimRange () const
 Get the multidimensional range of all bins.
template<std::size_t N, typename V>
void SetBinContent (const std::array< RBinIndex, N > &indices, const V &value)
 Set the content of a single bin.
template<typename... A>
void SetBinContent (const A &...args)
 Set the content of a single bin.
Computations
double ComputeNEffectiveEntries () const
 Compute the number of effective entries.
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.
Filling
template<typename... A>
void Fill (const std::tuple< A... > &args)
 Fill an entry into the histogram.
template<typename... A>
void Fill (const std::tuple< A... > &args, RWeight weight)
 Fill an entry into the histogram with a weight.
template<typename... A>
void Fill (const A &...args)
 Fill an entry into the histogram.
Operations
void Add (const RHist &other)
 Add all bin contents and statistics of another histogram.
void AddAtomic (const RHist &other)
 Add all bin contents and statistics of another histogram using atomic instructions.
void Clear ()
 Clear all bin contents and statistics.
RHist Clone () const
 Clone this histogram.
template<typename U>
RHist< U > Convert () const
 Convert this histogram to a different bin content type.
void Scale (double factor)
 Scale all histogram bin contents and statistics.
RHist Slice (const std::vector< RSliceSpec > &sliceSpecs) const
 Slice this histogram with an RSliceSpec per dimension.
template<typename... A>
RHist Slice (const A &...args) const
 Slice this histogram with an RSliceSpec per dimension.

Private Member Functions

 RHist (RHistEngine< BinContentType > engine)
 Private constructor based off an engine.

Private Attributes

RHistEngine< BinContentType > fEngine
 The histogram engine including the bin contents.
RHistStats fStats
 The global histogram statistics.

Friends

template<typename U>
class RHist
class RHistFillContext< BinContentType >

#include <ROOT/RHist.hxx>

Constructor & Destructor Documentation

◆ RHist() [1/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( RHistEngine< BinContentType > engine)
inlineprivate

Private constructor based off an engine.

Definition at line 78 of file RHist.hxx.

◆ RHist() [2/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( std::vector< RAxisVariant > axes)
inlineexplicit

Construct a histogram.

Parameters
[in]axesthe axis objects, must have size > 0

Definition at line 84 of file RHist.hxx.

◆ RHist() [3/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( std::initializer_list< RAxisVariant > axes)
inlineexplicit

Construct a histogram.

Note that there is no perfect forwarding of the axis objects. If that is needed, use the overload accepting a std::vector.

Parameters
[in]axesthe axis objects, must have size > 0

Definition at line 101 of file RHist.hxx.

◆ RHist() [4/7]

template<typename BinContentType>
template<typename... Axes>
ROOT::Experimental::RHist< BinContentType >::RHist ( const RAxisVariant & axis1,
const Axes &... axes )
inlineexplicit

Construct a histogram.

Note that there is no perfect forwarding of the axis objects. If that is needed, use the overload accepting a std::vector.

Parameters
[in]axis1the first axis object
[in]axesthe remaining axis objects

Definition at line 111 of file RHist.hxx.

◆ RHist() [5/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( std::uint64_t nNormalBins,
std::pair< double, double > interval )
inline

Construct a one-dimensional histogram with a regular axis.

Parameters
[in]nNormalBinsthe number of normal bins, must be > 0
[in]intervalthe axis interval (lower end inclusive, upper end exclusive)
See also
the constructor of RRegularAxis

Definition at line 122 of file RHist.hxx.

◆ RHist() [6/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( const RHist< BinContentType > & )
delete

The copy constructor is deleted.

Copying all bin contents can be an expensive operation, depending on the number of bins. If required, users can explicitly call Clone().

◆ RHist() [7/7]

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::RHist ( RHist< BinContentType > && )
default

Efficiently move construct a histogram.

After this operation, the moved-from object is invalid.

◆ ~RHist()

template<typename BinContentType>
ROOT::Experimental::RHist< BinContentType >::~RHist ( )
default

Member Function Documentation

◆ Add()

template<typename BinContentType>
void ROOT::Experimental::RHist< BinContentType >::Add ( const RHist< BinContentType > & other)
inline

Add all bin contents and statistics of another histogram.

Throws an exception if the axes configurations are not identical.

Parameters
[in]otheranother histogram

Definition at line 410 of file RHist.hxx.

◆ AddAtomic()

template<typename BinContentType>
void ROOT::Experimental::RHist< BinContentType >::AddAtomic ( const RHist< BinContentType > & other)
inline

Add all bin contents and statistics of another histogram using atomic instructions.

Throws an exception if the axes configurations are not identical.

Parameters
[in]otheranother histogram that must not be modified during the operation

Definition at line 421 of file RHist.hxx.

◆ Clear()

template<typename BinContentType>
void ROOT::Experimental::RHist< BinContentType >::Clear ( )
inline

Clear all bin contents and statistics.

Definition at line 428 of file RHist.hxx.

◆ Clone()

template<typename BinContentType>
RHist ROOT::Experimental::RHist< BinContentType >::Clone ( ) const
inline

Clone this histogram.

Copying all bin contents can be an expensive operation, depending on the number of bins.

Returns
the cloned object

Definition at line 439 of file RHist.hxx.

◆ ComputeMean()

template<typename BinContentType>
double ROOT::Experimental::RHist< BinContentType >::ComputeMean ( std::size_t dim = 0) const
inline

Compute the arithmetic mean of unbinned values.

\[\mu = \frac{\sum w_i \cdot x_i}{\sum w_i} \]

Parameters
[in]dimthe dimension index, starting at 0
Returns
the arithmetic mean of unbinned values

Definition at line 168 of file RHist.hxx.

◆ ComputeNEffectiveEntries()

template<typename BinContentType>
double ROOT::Experimental::RHist< BinContentType >::ComputeNEffectiveEntries ( ) const
inline

Compute the number of effective entries.

\[\frac{(\sum w_i)^2}{\sum w_i^2} \]

Returns
the number of effective entries

Definition at line 166 of file RHist.hxx.

◆ ComputeStdDev()

template<typename BinContentType>
double ROOT::Experimental::RHist< BinContentType >::ComputeStdDev ( std::size_t dim = 0) const
inline

Compute the standard deviation of unbinned values.

This function computes the uncorrected sample standard deviation:

\[\sigma = \sqrt{\frac{1}{\sum w_i} \sum(w_i \cdot x_i - \mu)^2} \]

With some rewriting, this is equivalent to:

\[\sigma = \sqrt{\frac{\sum w_i \cdot x_i^2}{\sum w_i} - \frac{(\sum w_i \cdot x_i)^2}{(\sum w_i)^2}} \]

This function does not include Bessel's correction needed for an unbiased estimator of population variance. In other words, the return value is a biased estimation lower than the actual population standard deviation.

Parameters
[in]dimthe dimension index, starting at 0
Returns
the standard deviation of unbinned values

Definition at line 170 of file RHist.hxx.

◆ Convert()

template<typename BinContentType>
template<typename U>
RHist< U > ROOT::Experimental::RHist< BinContentType >::Convert ( ) const
inline

Convert this histogram to a different bin content type.

There is no bounds checking to make sure that the converted values can be represented. Note that it is not possible to convert to RBinWithError since the information about individual weights has been lost since filling.

Converting all bin contents can be an expensive operation, depending on the number of bins.

Returns
the converted object

Definition at line 455 of file RHist.hxx.

◆ Fill() [1/3]

template<typename BinContentType>
template<typename... A>
void ROOT::Experimental::RHist< BinContentType >::Fill ( const A &... args)
inline

Fill an entry into the histogram.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
hist.Fill(8.5, 10.5);

For weighted filling, pass an RWeight as the last argument:

ROOT::Experimental::RHist<float> hist({/* two dimensions */});
hist.Fill(8.5, 10.5, ROOT::Experimental::RWeight(0.8));
A weight for filling histograms.
Definition RWeight.hxx:17

This is not available for integral bin content types (see RHistEngine::SupportsWeightedFilling).

If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.

Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.

Parameters
[in]argsthe arguments for each axis
See also
the function overloads accepting std::tuple for unweighted filling and for weighted filling

Definition at line 392 of file RHist.hxx.

◆ Fill() [2/3]

template<typename BinContentType>
template<typename... A>
void ROOT::Experimental::RHist< BinContentType >::Fill ( const std::tuple< A... > & args)
inline

Fill an entry into the histogram.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
auto args = std::make_tuple(8.5, 10.5);
hist.Fill(args);

If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.

Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.

Parameters
[in]argsthe arguments for each axis
See also
the variadic function template overload accepting arguments directly and the overload for weighted filling

Definition at line 333 of file RHist.hxx.

◆ Fill() [3/3]

template<typename BinContentType>
template<typename... A>
void ROOT::Experimental::RHist< BinContentType >::Fill ( const std::tuple< A... > & args,
RWeight weight )
inline

Fill an entry into the histogram with a weight.

This overload is not available for integral bin content types (see RHistEngine::SupportsWeightedFilling).

ROOT::Experimental::RHist<float> hist({/* two dimensions */});
auto args = std::make_tuple(8.5, 10.5);
hist.Fill(args, ROOT::Experimental::RWeight(0.8));

If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.

Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.

Parameters
[in]argsthe arguments for each axis
[in]weightthe weight for this entry
See also
the variadic function template overload accepting arguments directly and the overload for unweighted filling

Definition at line 361 of file RHist.hxx.

◆ GetAxes()

template<typename BinContentType>
const std::vector< RAxisVariant > & ROOT::Experimental::RHist< BinContentType >::GetAxes ( ) const
inline

Definition at line 155 of file RHist.hxx.

◆ GetBinContent() [1/3]

template<typename BinContentType>
template<typename... A>
const BinContentType & ROOT::Experimental::RHist< BinContentType >::GetBinContent ( const A &... args) const
inline

Get the content of a single bin.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
// ... or construct the RBinIndex arguments implicitly from integers:
content = hist.GetBinContent(3, 5);
A bin index with special values for underflow and overflow bins.
Definition RBinIndex.hxx:23
const BinContentType & GetBinContent(const std::array< RBinIndex, N > &indices) const
Get the content of a single bin.
Definition RHist.hxx:195
Note
Compared to TH1 conventions, the first normal bin has index 0 and underflow and overflow bins are special values. See also the class documentation of RBinIndex.

Throws an exception if the number of arguments does not match the axis configuration or the bin is not found.

Parameters
[in]argsthe arguments for each axis
Returns
the bin content
See also
the function overloads accepting `std::array` or `std::vector`

Definition at line 243 of file RHist.hxx.

◆ GetBinContent() [2/3]

template<typename BinContentType>
template<std::size_t N>
const BinContentType & ROOT::Experimental::RHist< BinContentType >::GetBinContent ( const std::array< RBinIndex, N > & indices) const
inline

Get the content of a single bin.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
std::array<ROOT::Experimental::RBinIndex, 2> indices = {3, 5};
int content = hist.GetBinContent(indices);
Note
Compared to TH1 conventions, the first normal bin has index 0 and underflow and overflow bins are special values. See also the class documentation of RBinIndex.

Throws an exception if the number of indices does not match the axis configuration or the bin is not found.

Parameters
[in]indicesthe array of indices for each axis
Returns
the bin content
See also
the variadic function template overload accepting arguments directly

Definition at line 195 of file RHist.hxx.

◆ GetBinContent() [3/3]

template<typename BinContentType>
const BinContentType & ROOT::Experimental::RHist< BinContentType >::GetBinContent ( const std::vector< RBinIndex > & indices) const
inline

Get the content of a single bin.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
std::vector<ROOT::Experimental::RBinIndex> indices = {3, 5};
int content = hist.GetBinContent(indices);
Note
Compared to TH1 conventions, the first normal bin has index 0 and underflow and overflow bins are special values. See also the class documentation of RBinIndex.

Throws an exception if the number of indices does not match the axis configuration or the bin is not found.

Parameters
[in]indicesthe array of indices for each axis
Returns
the bin content
See also
the variadic function template overload accepting arguments directly

Definition at line 218 of file RHist.hxx.

◆ GetEngine()

template<typename BinContentType>
const RHistEngine< BinContentType > & ROOT::Experimental::RHist< BinContentType >::GetEngine ( ) const
inline

Definition at line 152 of file RHist.hxx.

◆ GetFullMultiDimRange()

template<typename BinContentType>
RBinIndexMultiDimRange ROOT::Experimental::RHist< BinContentType >::GetFullMultiDimRange ( ) const
inline

Get the multidimensional range of all bins.

Returns
the multidimensional range

Definition at line 251 of file RHist.hxx.

◆ GetNDimensions()

template<typename BinContentType>
std::size_t ROOT::Experimental::RHist< BinContentType >::GetNDimensions ( ) const
inline

Definition at line 156 of file RHist.hxx.

◆ GetNEntries()

template<typename BinContentType>
std::uint64_t ROOT::Experimental::RHist< BinContentType >::GetNEntries ( ) const
inline

Definition at line 159 of file RHist.hxx.

◆ GetStats()

template<typename BinContentType>
const RHistStats & ROOT::Experimental::RHist< BinContentType >::GetStats ( ) const
inline

Definition at line 153 of file RHist.hxx.

◆ GetTotalNBins()

template<typename BinContentType>
std::uint64_t ROOT::Experimental::RHist< BinContentType >::GetTotalNBins ( ) const
inline

Definition at line 157 of file RHist.hxx.

◆ operator=() [1/2]

template<typename BinContentType>
RHist & ROOT::Experimental::RHist< BinContentType >::operator= ( const RHist< BinContentType > & )
delete

The copy assignment operator is deleted.

Copying all bin contents can be an expensive operation, depending on the number of bins. If required, users can explicitly call Clone().

◆ operator=() [2/2]

template<typename BinContentType>
RHist & ROOT::Experimental::RHist< BinContentType >::operator= ( RHist< BinContentType > && )
default

Efficiently move a histogram.

After this operation, the moved-from object is invalid.

◆ Scale()

template<typename BinContentType>
void ROOT::Experimental::RHist< BinContentType >::Scale ( double factor)
inline

Scale all histogram bin contents and statistics.

This method is not available for integral bin content types.

Parameters
[in]factorthe scale factor

Definition at line 467 of file RHist.hxx.

◆ SetBinContent() [1/2]

template<typename BinContentType>
template<typename... A>
void ROOT::Experimental::RHist< BinContentType >::SetBinContent ( const A &... args)
inline

Set the content of a single bin.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
int value = /* ... */;
// ... or construct the RBinIndex arguments implicitly from integers:
hist.SetBinContent(3, 5, value);
void SetBinContent(const std::array< RBinIndex, N > &indices, const V &value)
Set the content of a single bin.
Definition RHist.hxx:275
Note
Compared to TH1 conventions, the first normal bin has index 0 and underflow and overflow bins are special values. See also the class documentation of RBinIndex.

Throws an exception if the number of arguments does not match the axis configuration or the bin is not found.

Warning
Setting the bin content will taint the global histogram statistics. Attempting to access its values, for example calling GetNEntries(), will throw exceptions.
Parameters
[in]argsthe arguments for each axis and the new value of the bin content
See also
the function overload accepting std::array

Definition at line 304 of file RHist.hxx.

◆ SetBinContent() [2/2]

template<typename BinContentType>
template<std::size_t N, typename V>
void ROOT::Experimental::RHist< BinContentType >::SetBinContent ( const std::array< RBinIndex, N > & indices,
const V & value )
inline

Set the content of a single bin.

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
std::array<ROOT::Experimental::RBinIndex, 2> indices = {3, 5};
int value = /* ... */;
hist.SetBinContent(indices, value);
Note
Compared to TH1 conventions, the first normal bin has index 0 and underflow and overflow bins are special values. See also the class documentation of RBinIndex.

Throws an exception if the number of indices does not match the axis configuration or the bin is not found.

Warning
Setting the bin content will taint the global histogram statistics. Attempting to access its values, for example calling GetNEntries(), will throw exceptions.
Parameters
[in]indicesthe array of indices for each axis
[in]valuethe new value of the bin content
See also
the variadic function template overload accepting arguments directly

Definition at line 275 of file RHist.hxx.

◆ Slice() [1/2]

template<typename BinContentType>
template<typename... A>
RHist ROOT::Experimental::RHist< BinContentType >::Slice ( const A &... args) const
inline

Slice this histogram with an RSliceSpec per dimension.

With a range, only the specified bins are retained. All other bin contents are transferred to the underflow and overflow bins:

ROOT::Experimental::RHist<int> hist(/* one dimension */);
// Fill the histogram with a number of entries...
auto sliced = hist.Slice(hist.GetAxes()[0].GetNormalRange(1, 5));
// The returned histogram will have 4 normal bins, an underflow and an overflow bin.

Slicing can also perform operations per dimension, see RSliceSpec. RSliceSpec::ROperationRebin allows to rebin the histogram axis, grouping a number of normal bins into a new one:

ROOT::Experimental::RHist<int> hist(/* one dimension */);
// Fill the histogram with a number of entries...
auto rebinned = hist.Slice(ROOT::Experimental::RSliceSpec::ROperationRebin(2));
// The returned histogram has groups of two normal bins merged.
Rebin the dimension, grouping a number of original bins into a new one.

RSliceSpec::ROperationSum sums the bin contents along that axis, which allows to project to a lower-dimensional histogram:

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
// Fill the histogram with a number of entries...
// The returned histogram has one dimension, with bin contents summed along the second axis.
RHist Slice(const std::vector< RSliceSpec > &sliceSpecs) const
Slice this histogram with an RSliceSpec per dimension.
Definition RHist.hxx:512
Sum bins along this dimension, effectively resulting in a projection.
Specification of a slice operation along one dimension.

Note that it is not allowed to sum along all histogram axes because the return value would be a scalar.

Ranges and operations can be combined. In that case, the range is applied before the operation.

Warning
Combining a range and the sum operation drops bin contents, which will taint the global histogram statistics. Attempting to access its values, for example calling GetNEntries(), will throw exceptions.
Parameters
[in]argsthe arguments for each axis
Returns
the sliced histogram
See also
the function overload accepting std::vector

Definition at line 576 of file RHist.hxx.

◆ Slice() [2/2]

template<typename BinContentType>
RHist ROOT::Experimental::RHist< BinContentType >::Slice ( const std::vector< RSliceSpec > & sliceSpecs) const
inline

Slice this histogram with an RSliceSpec per dimension.

With a range, only the specified bins are retained. All other bin contents are transferred to the underflow and overflow bins:

ROOT::Experimental::RHist<int> hist(/* one dimension */);
// Fill the histogram with a number of entries...
auto sliced = hist.Slice({hist.GetAxes()[0].GetNormalRange(1, 5)});
// The returned histogram will have 4 normal bins, an underflow and an overflow bin.

Slicing can also perform operations per dimension, see RSliceSpec. RSliceSpec::ROperationRebin allows to rebin the histogram axis, grouping a number of normal bins into a new one:

ROOT::Experimental::RHist<int> hist(/* one dimension */);
// Fill the histogram with a number of entries...
auto rebinned = hist.Slice(ROOT::Experimental::RSliceSpec::ROperationRebin(2));
// The returned histogram has groups of two normal bins merged.

RSliceSpec::ROperationSum sums the bin contents along that axis, which allows to project to a lower-dimensional histogram:

ROOT::Experimental::RHist<int> hist({/* two dimensions */});
// Fill the histogram with a number of entries...
// The returned histogram has one dimension, with bin contents summed along the second axis.

Note that it is not allowed to sum along all histogram axes because the return value would be a scalar.

Ranges and operations can be combined. In that case, the range is applied before the operation.

Warning
Combining a range and the sum operation drops bin contents, which will taint the global histogram statistics. Attempting to access its values, for example calling GetNEntries(), will throw exceptions.
Parameters
[in]sliceSpecsthe slice specifications for each axis
Returns
the sliced histogram
See also
the variadic function template overload accepting arguments directly

Definition at line 512 of file RHist.hxx.

◆ Streamer()

template<typename BinContentType>
void ROOT::Experimental::RHist< BinContentType >::Streamer ( TBuffer & )
inline

ROOT Streamer function to throw when trying to store an object of this class.

Definition at line 585 of file RHist.hxx.

◆ RHist

template<typename BinContentType>
template<typename U>
friend class RHist
friend

Definition at line 68 of file RHist.hxx.

◆ RHistFillContext< BinContentType >

template<typename BinContentType>
friend class RHistFillContext< BinContentType >
friend

Definition at line 68 of file RHist.hxx.

Member Data Documentation

◆ fEngine

template<typename BinContentType>
RHistEngine<BinContentType> ROOT::Experimental::RHist< BinContentType >::fEngine
private

The histogram engine including the bin contents.

Definition at line 73 of file RHist.hxx.

◆ fStats

template<typename BinContentType>
RHistStats ROOT::Experimental::RHist< BinContentType >::fStats
private

The global histogram statistics.

Definition at line 75 of file RHist.hxx.


The documentation for this class was generated from the following file: