How to fit a Lorentzian on my histogram

I have calculated a histogram through ROOT and I now want to fit a lorentzian to it.

I tried adding my own equation pol0/(pol1+(pol2+x^2)^2) + pol3 in the fit panel but the fit I get doesn’t coincide at all with my histogram.

How can I easily get a Lorentzian fit to fit to my histogram?

Thank you

Hi,

May be this can help you?
root.cern.ch/root/html/tutorial … emo.C.html

G Ganis