Dear experts,

I am trying model a distribution using RooLandau and RooGaussian. For both of these shapes, I have fixed the mean and the sigma. I want to introduce two other free parameters , delta(shift in the mean) and a s(scale factor for the width) using RooFormulaVar but my formula doesn’t compile and I am not

able to spot my mistake.

Here’s the macro and the root file.

kpipi0_semileptonic_bkg_fit_d0pi.C (4.7 KB)

kpipi0_semileptonic_1.75to1.76.root (28.9 KB)

Would you please help.