33   TH1F *h_ExpGauss = 
new TH1F(
"h_ExpGauss",
"Exponential convoluted by gaussian",100,0.,5.);
 
   34   for (
int i=0;i<1e6;i++)
 
   45   f->SetParameters(1.,-0.3,0.,1.);
 
   49   h_ExpGauss -> 
Fit(
"f");
 
R__EXTERN TRandom * gRandom
Class wrapping convolution of two functions.
void SetRange(Double_t a, Double_t b)
void SetNofPointsFFT(Int_t n)
1-D histogram with a float per channel (see TH1 documentation)}
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
virtual Double_t Exp(Double_t tau)
Returns an exponential deviate.
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)