![]() |
ROOT 6.14/05 Reference Guide |
Keeps track of the histogram's total sum of squared weights.
Definition at line 160 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 | |
THistStatTotalSumOfSquaredWeights ()=default | |
THistStatTotalSumOfSquaredWeights (size_t) | |
void | Fill (const CoordArray_t &, int, Weight_t weight=1.) |
Add weight to the bin content at binidx. More... | |
Weight_t | GetSumOfSquaredWeights () const |
Get the sum of weights. More... | |
Private Attributes | |
PRECISION | fSumWeights2 = 0 |
Sum of (weights^2). More... | |
#include <ROOT/THistData.hxx>
using ROOT::Experimental::THistStatTotalSumOfSquaredWeights< DIMENSIONS, PRECISION, STORAGE >::BinStat_t = TBinStat |
Definition at line 177 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfSquaredWeights< DIMENSIONS, PRECISION, STORAGE >::ConstBinStat_t = TBinStat |
Definition at line 176 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfSquaredWeights< DIMENSIONS, PRECISION, STORAGE >::CoordArray_t = Hist::CoordArray_t<DIMENSIONS> |
The type of a (possibly multi-dimensional) coordinate.
Definition at line 163 of file THistData.hxx.
using ROOT::Experimental::THistStatTotalSumOfSquaredWeights< DIMENSIONS, PRECISION, STORAGE >::Weight_t = PRECISION |
The type of the weight and the bin content.
Definition at line 165 of file THistData.hxx.
|
default |
|
inline |
Definition at line 185 of file THistData.hxx.
|
inline |
Add weight to the bin content at binidx.
Definition at line 188 of file THistData.hxx.
|
inline |
Get the sum of weights.
Definition at line 191 of file THistData.hxx.
|
private |
Sum of (weights^2).
Definition at line 181 of file THistData.hxx.