Gamma Fitting

Hello,

I am trying to fit a 1-D histogram with a Gamma function. I have tried using fitexample macro but have run into problems. Is there a pre-defined Gamma function in root? If not, can anyone help me with an example which I can modify ?

Many Many Thanks

Merry Christmas

Use TMath::Gamma(Double_t a, Double_t x)

Rene