I am new with ROOT and I have some problems related with fitting histograms. First of all, I am trying to analysis the Z decays into pairs of muons, as well, I generate all the data and plotted it in a histogram with the y-axis in log scale. Now I want to fit only the background (ignoring the signal) with a pre defined function. I am trying to use exp(f(x)), but it isn’t returning something good… There is another way to do this fit?
Thanks everyone!
Obs: I already know how to ignore the signal (peak)