44 int nabove, nbelow, middle;
47 while (nabove - nbelow > 1) {
48 middle = (nabove + nbelow) / 2;
double nEntries
Number of entries.
std::vector< float > integral
Integral.
SimpleHistogramGenerator(TH1 *histo)
int nBins
Pointer to the histogram.
double generate(RandomEngineAndDistribution const *) const
The random generation.
double flatShoot(double xmin=0.0, double xmax=1.0) const
int binarySearch(const int &n, const std::vector< float > &array, const double &value) const