1 #ifndef SimpleHistogramGenerator_H
2 #define SimpleHistogramGenerator_H
double nEntries
Number of entries.
std::vector< float > integral
Integral.
SimpleHistogramGenerator(TH1 *histo)
double generate(RandomEngineAndDistribution const *) const
The random generation.
virtual ~SimpleHistogramGenerator()
Default destructor.
int nBins
Pointer to the histogram.
int binarySearch(const int &n, const std::vector< float > &array, const double &value) const