A 0D distribution. More...
A 0D distribution.
This class is used internally by YODA to centralise the calculation of statistics of unbounded, unbinned sampled distributions. Each distribution fill contributes a weight, . Unlike e.g. Dbn1D there are no dimensionful value terms such as , and .
By storing the total number of fills (ignoring weights), , and the Dbn0D can calculate the mean and error on the aggregate of the supplied weights. It is used to provide this information in the Counter class and in Dbn1D, Dbn2D, etc. (which themselves are used to implement histogram and profile bins).
Constructor & Destructor Documentation
Constructor to set a distribution with a pre-filled state.
Principally designed for internal persistency use.
44 : _numEntries(numEntries),
double numEntries() const
Number of entries (number of times fill was called, ignoring weights)
Member Function Documentation
The relative error on sumW.
Referenced by sumW2().
The documentation for this class was generated from the following files:
Generated on Thu Aug 23 2018 12:42:00 for YODA - Yet more Objects for Data Analysis by 1.8.13