ROOT 6.10/09 Reference Guide |
Keeps track of the histogram's total sum of weights.
Definition at line 122 of file THistData.hxx.
Classes | |
class | TBinStat |
No-op; this class does not provide per-bin statistics. More... | |
Public Types | |
using | BinStat_t = TBinStat |
using | ConstBinStat_t = TBinStat |
using | CoordArray_t = Hist::CoordArray_t< DIMENSIONS > |
The type of a (possibly multi-dimensional) coordinate. More... | |
using | Weight_t = PRECISION |
The type of the weight and the bin content. More... | |
Public Member Functions | |
THistStatTotalSumOfWeights ()=default | |
THistStatTotalSumOfWeights (size_t) | |
void | Fill (const CoordArray_t &, int, Weight_t weight=1.) |
Add weight to the bin content at binidx. More... | |
Weight_t | GetSumOfWeights () const |
Get the sum of weights. More... | |
Private Attributes | |
PRECISION | fSumWeights = 0 |
Sum of weights. More... | |
#include <ROOT/THistData.hxx>
using ROOT::Experimental::THistStatTotalSumOfWeights< DIMENSIONS, PRECISION, STORAGE >::BinStat_t = TBinStat |
Definition at line 139 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfWeights< DIMENSIONS, PRECISION, STORAGE >::ConstBinStat_t = TBinStat |
Definition at line 138 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfWeights< DIMENSIONS, PRECISION, STORAGE >::CoordArray_t = Hist::CoordArray_t<DIMENSIONS> |
The type of a (possibly multi-dimensional) coordinate.
Definition at line 125 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfWeights< DIMENSIONS, PRECISION, STORAGE >::Weight_t = PRECISION |
The type of the weight and the bin content.
Definition at line 127 of file THistData.hxx.
|
default |
|
inline |
Definition at line 147 of file THistData.hxx.
|
inline |
Add weight to the bin content at binidx.
Definition at line 150 of file THistData.hxx.
|
inline |
Get the sum of weights.
Definition at line 155 of file THistData.hxx.
|
private |
Sum of weights.
Definition at line 143 of file THistData.hxx.