Belle II Software development
|
Empirical distribution function object is basic for mainpulation of probabilities. More...
#include <NNWaveFitTool.h>
Public Member Functions | |
EmpiricalDistributionFunction (const nnFitterBinData &p, const nnFitterBins &bins) | |
Constructor constructs edf object from a probability distribution. | |
double | operator() (double t) |
EmpiricalDistributionFunction(t) gives edf value at time t, linearly interpolated from cummulative bin probabilities. | |
Private Attributes | |
const nnFitterBins & | m_bins |
array of bin boundaries. | |
std::vector< std::pair< double, double > > | m_pTable |
(bin, prob) pairs | |
Empirical distribution function object is basic for mainpulation of probabilities.
Definition at line 39 of file NNWaveFitTool.h.
|
inline |
Constructor constructs edf object from a probability distribution.
p | array of bin probabilities |
bins | array of bin boundaries, size(p) + 1 |
Definition at line 45 of file NNWaveFitTool.h.
|
inline |
EmpiricalDistributionFunction(t) gives edf value at time t, linearly interpolated from cummulative bin probabilities.
t | time at which edf is to be calculated. |
Definition at line 64 of file NNWaveFitTool.h.
|
private |
array of bin boundaries.
Definition at line 78 of file NNWaveFitTool.h.
|
private |
(bin, prob) pairs
Definition at line 79 of file NNWaveFitTool.h.