Hi,
I am trying to clone a RooAbsPdf (or a RooAddPdf). The main reason is because I want to store the pdf form before calling the fitTo method and afterwards to see the result of my fit. In ROOT and TF1 what I would do is clone with a different name the TF1 object before the fit call. When I do the same in RooFit what I see is that indeed I gain a new address for my RooAbsPdf but the variables linked with it (verified with Print(“T”)) are still the same, leading to having at the end the same copy of the PDF. Is there a way I could do something like this in RooFit?
Thanks
–John