Hi, it’s me again.
I’m finding some problems to fit a histogram as the sum of other three. I have one data histogram (EXP) and three Monte Carlo histograms (MC1, MC2, MC3), were each MC contributes to the EXP. I would like to know how much each one contributes. In other words, I need something like EXP = w1.MC1 + w2.MC2 + w3.MC3, a simple weighted sum. I’ve tried with TFractionFitter, but I don’t know if it work in this way. I know that it can be done using TMinuit but I don’t know how to relate the four histograms and I didn’t find any example. Does anyone can help me?
I use ROOT 4.00/08, Linux RH9 and gcc 3.4.2.