Curve fitting

Hello all,

I’m trying to fit curves to a histogram. The profile of the histogram is a normal curve with a small Breit-Wigner curve added to it. Does anyone know of an easy way to fit a normal curve (using a section of it that’s minimally influenced by the overlapping Breit-Wigner curve), so that I then could subtract the normal curve from the graph and only be left with the Breit-Wigner?

see example in tutorial FittingDemo.C

Rene

Ah. Didn’t see that. Thanks!