Fitting two Lorentzian peaks along with background and signal


I am quite new to ROOT so please bear with me. There is an example in ROOT tutorials with name “FittingDemo.C” where single Lorentzian peak is plotted along with backgound and signal. I have data with two Lorentzian peaks. How can I fit both peaks using same methods as described in “FittingDemo.C”. Work that I have done is presented in the attached link.

FittingDemo.C (2.9 KB)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.