Dear Rooters,
I am a totally newbie to Roofit. I am trying to fit a Double Sided Crystal Ball to a histogram. My code is running normally in root, but I want to convert it to a roofit version because I need to apply a constraint to a normalization parameters wrt to another one from a different signal region in a later step. However I have a few problems defining the DSCB as an external function. I have checked the tutorials but I found only examples where predefined functions are used to fit histograms using Roofit. What should I do to define the DSCB as a RooAbsPdf or a RooGenericPdf or something that could be used from Roofit?
DCB.C (2.2 KB)
I would appreciate any kind of help,
Best wishes,
Giorgos