Problem with Template fit

:frowning: I have a root file counting 2 histogrmas(each representing a pdf), I d like to fit another histogram (and get the fitting parameters), which I know is a linear combinations of these 2, but I can’t get the point on how to do that.


You can try to do something similar to this tutorial

Best Regards