Hi ROOT experts,
I attached a root file with 10 histograms, each made with a different parameter (gausians with different mean) and a piece of code that takes a histogram and makes it into a RooHistPdf, that is in practice a Pdf.
The code takes a double and interpolates the histograms to give a histogram corresponding to the double. So the histograms depend continuously on “i” and I want to transfer that dependence to the RooHistPdf so that “i” becomes a fitting parameter for instance.
Is there a way to do this? Could you please modify the code I attached in the right way if its possible?