Represents a bin reference.
Value of the bin iteration.
Provides access to bin content, bin geometry (from, to, center), and statistics (for instance higher moments) associated to the bin.
Definition at line 34 of file RHistBinIter.hxx.
Public Types | |
using | CoordArray_t = typename HISTIMPL::CoordArray_t |
using | HistBinStat_t = decltype(((HISTIMPL *) 0x123) ->GetStat().GetView(1)) |
using | HistImpl_t = HISTIMPL |
using | Weight_t = typename HISTIMPL::Weight_t |
Public Member Functions | |
RHistBinRef (HistImpl_t &hist, size_t idx) | |
Construct from a histogram. | |
Statistics operations | |
Get the bin content (or reference to it, for non-const HistImpl_t). | |
auto | GetContent () |
double | GetUncertainty () const |
Get the bin uncertainty. | |
HistBinStat_t | GetStat () const |
Get a (const, for const HistImpl_t) reference to the bin-view of the histogram statistics (uncertainty etc). | |
Bin operations | |
Get the bin center as an array over all dimensions. | |
CoordArray_t | GetCenter () const |
CoordArray_t | GetFrom () const |
Get the bin lower edge as an array over all dimensions. | |
CoordArray_t | GetTo () const |
Get the bin upper edge as an array over all dimensions. | |
Private Attributes | |
HistImpl_t * | fHist {nullptr} |
The bin's histogram. | |
size_t | fIndex {0} |
Bin index. | |
HistBinStat_t | fStatView |
#include <ROOT/RHistBinIter.hxx>
using ROOT::Experimental::Detail::RHistBinRef< HISTIMPL >::CoordArray_t = typename HISTIMPL::CoordArray_t |
Definition at line 37 of file RHistBinIter.hxx.
using ROOT::Experimental::Detail::RHistBinRef< HISTIMPL >::HistBinStat_t = decltype(((HISTIMPL *)0x123)->GetStat().GetView(1)) |
Definition at line 39 of file RHistBinIter.hxx.
using ROOT::Experimental::Detail::RHistBinRef< HISTIMPL >::HistImpl_t = HISTIMPL |
Definition at line 36 of file RHistBinIter.hxx.
using ROOT::Experimental::Detail::RHistBinRef< HISTIMPL >::Weight_t = typename HISTIMPL::Weight_t |
Definition at line 38 of file RHistBinIter.hxx.
|
inline |
Construct from a histogram.
Definition at line 48 of file RHistBinIter.hxx.
|
inline |
Definition at line 66 of file RHistBinIter.hxx.
|
inline |
Definition at line 53 of file RHistBinIter.hxx.
|
inline |
Get the bin lower edge as an array over all dimensions.
Definition at line 69 of file RHistBinIter.hxx.
|
inline |
Get a (const, for const HistImpl_t) reference to the bin-view of the histogram statistics (uncertainty etc).
Definition at line 60 of file RHistBinIter.hxx.
|
inline |
Get the bin upper edge as an array over all dimensions.
Definition at line 72 of file RHistBinIter.hxx.
|
inline |
Get the bin uncertainty.
Definition at line 56 of file RHistBinIter.hxx.
|
private |
The bin's histogram.
Definition at line 43 of file RHistBinIter.hxx.
|
private |
Bin index.
Definition at line 42 of file RHistBinIter.hxx.
|
private |
Definition at line 44 of file RHistBinIter.hxx.