ROOT 6.10/09 Reference Guide |
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 33 of file THistBinIter.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 | |
THistBinRef (HistImpl_t &hist, size_t idx) | |
Construct from a histogram. More... | |
Statistics operations | |
Get the bin content (or reference to it, for non-const HistImpl_t). | |
auto | GetContent () |
double | GetUncertainty () const |
Get the bin uncertainty. More... | |
HistBinStat_t | GetStat () const |
Get a (const, for const HistImpl_t) reference to the bin-view of the histogram statistics (uncertainty etc). More... | |
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. More... | |
CoordArray_t | GetTo () const |
Get the bin upper edge as an array over all dimensions. More... | |
Private Attributes | |
HistImpl_t * | fHist |
The bin's histogram. More... | |
size_t | fIndex = 0 |
Bin index. More... | |
HistBinStat_t | fStatView |
#include <ROOT/THistBinIter.hxx>
using ROOT::Experimental::Detail::THistBinRef< HISTIMPL >::CoordArray_t = typename HISTIMPL::CoordArray_t |
Definition at line 36 of file THistBinIter.hxx.
using ROOT::Experimental::Detail::THistBinRef< HISTIMPL >::HistBinStat_t = decltype(((HISTIMPL*)0x123)->GetStat().GetView(1)) |
Definition at line 38 of file THistBinIter.hxx.
using ROOT::Experimental::Detail::THistBinRef< HISTIMPL >::HistImpl_t = HISTIMPL |
Definition at line 35 of file THistBinIter.hxx.
using ROOT::Experimental::Detail::THistBinRef< HISTIMPL >::Weight_t = typename HISTIMPL::Weight_t |
Definition at line 37 of file THistBinIter.hxx.
|
inline |
Construct from a histogram.
Definition at line 47 of file THistBinIter.hxx.
|
inline |
Definition at line 66 of file THistBinIter.hxx.
|
inline |
Definition at line 53 of file THistBinIter.hxx.
|
inline |
Get the bin lower edge as an array over all dimensions.
Definition at line 69 of file THistBinIter.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 THistBinIter.hxx.
|
inline |
Get the bin upper edge as an array over all dimensions.
Definition at line 72 of file THistBinIter.hxx.
|
inline |
Get the bin uncertainty.
Definition at line 56 of file THistBinIter.hxx.
|
private |
The bin's histogram.
Definition at line 42 of file THistBinIter.hxx.
|
private |
Bin index.
Definition at line 41 of file THistBinIter.hxx.
|
private |
Definition at line 43 of file THistBinIter.hxx.