1 #ifndef HistogramGenerator_H 2 #define HistogramGenerator_H 21 nbins(histo->GetXaxis()->GetNbins()) {
26 while (
function(
xmin) <= 0.)
29 while (
function(
xmax) <= 0.)
32 if (
xmin != histo->GetXaxis()->GetXmin())
34 if (
xmax != histo->GetXaxis()->GetXmax())
47 double function(
double x)
override {
return ersatzt(
x); }
TH1 * myHisto
Pointer to the histogram.
~HistogramGenerator() override
Default destructor.
void initialize()
The initialization (numerical integarion, inversion)
HistogramGenerator(TH1 *histo)
Constructor : initialization of the Random Generator.
double ersatzt(double x)
Gamma Function.