For now do as RH1: calculate first (xw) and second (x^2w) moment.
Definition at line 275 of file RHistData.hxx.
Classes | |
class | RBinStat |
No-op; this class does not provide per-bin statistics. More... | |
Public Types | |
using | BinStat_t = RBinStat |
using | ConstBinStat_t = RBinStat |
using | Content_t = std::vector< PRECISION > |
Type of the bin content array. More... | |
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 | |
RHistDataMomentUncert ()=default | |
RHistDataMomentUncert (size_t) | |
void | Fill (const CoordArray_t &x, int, Weight_t weight=1.) |
Add weight to the bin at binidx; the coordinate was x. More... | |
Private Attributes | |
std::array< Weight_t, DIMENSIONS > | fMomentX2W |
std::array< Weight_t, DIMENSIONS > | fMomentXW |
#include <ROOT/RHistData.hxx>
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::BinStat_t = RBinStat |
Definition at line 294 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::ConstBinStat_t = RBinStat |
Definition at line 293 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::Content_t = std::vector<PRECISION> |
Type of the bin content array.
Definition at line 282 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::CoordArray_t = Hist::CoordArray_t<DIMENSIONS> |
The type of a (possibly multi-dimensional) coordinate.
Definition at line 278 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::Weight_t = PRECISION |
The type of the weight and the bin content.
Definition at line 280 of file RHistData.hxx.
|
default |
|
inline |
Definition at line 302 of file RHistData.hxx.
|
inline |
Add weight to the bin at binidx; the coordinate was x.
Definition at line 305 of file RHistData.hxx.
|
private |
Definition at line 298 of file RHistData.hxx.
|
private |
Definition at line 297 of file RHistData.hxx.