For now do as RH1
: calculate first (xw) and second (x^2w) moment.
Definition at line 378 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, size_t) | |
void | Add (const RHistDataMomentUncert &other) |
Merge with other RHistDataMomentUncert data, assuming same bin configuration. More... | |
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 397 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::ConstBinStat_t = RBinStat |
Definition at line 396 of file RHistData.hxx.
using ROOT::Experimental::RHistDataMomentUncert< DIMENSIONS, PRECISION >::Content_t = std::vector<PRECISION> |
Type of the bin content array.
Definition at line 385 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 381 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 383 of file RHistData.hxx.
|
default |
|
inline |
Definition at line 406 of file RHistData.hxx.
|
inline |
Merge with other RHistDataMomentUncert data, assuming same bin configuration.
Definition at line 421 of file RHistData.hxx.
|
inline |
Add weight to the bin at binidx; the coordinate was x.
Definition at line 409 of file RHistData.hxx.
|
private |
Definition at line 401 of file RHistData.hxx.
|
private |
Definition at line 400 of file RHistData.hxx.