1 #ifndef SimpleHistogramGenerator_H 2 #define SimpleHistogramGenerator_H 37 const std::vector<float>&
array,
38 const double&
value)
const;
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