Likelihood fit fails in RooFit but works in ROOT

Hi everyone, I have a function (exp(-poly)) which I fit to my data. The likelihood fit however fails in Roofit, though the fit ‘looks’ good, and I am confused why. On the other hand, I see that it converges in ROOT. It’s very confusing to me and I am wondering if I am going wrong somewhere. I am attaching my codes for Roofit (bumpsmall.cxx) and ROOT (tetraquarkmass.cxx) and my fit result messages in both the cases, for your convenience. I hope someone will be able to help me out. Thanks!

tetraquarkmass.cxx (5.9 KB)
bumpsmall.cxx (5.0 KB)



Hi,

@jonas or @moneta will be able to help you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.