amroo
March 22, 2021, 9:23am
1
I am doing a binned extended maximum likelihood fit using Roofit.
I use pdf.paramOn(frame) to show fit results , but I am seeing that it is also printing a value for the fit variable (deltam) along with pdf shape parameters.
The fit log and result->Print() shows only 8 fit parameters ( as expected)
Why paramOn is printing extra entry corresponding to fit variable deltam ??
couet
March 22, 2021, 10:20am
2
I think @moneta can help.
moneta
March 22, 2021, 11:28am
3
Hi,
This is strange. I have never noticed this. Can you please post your code doing the plot above
Cheers
Lorenzo
amroo
March 22, 2021, 11:50am
4
Please download the folder here debug – Google Drive
To run the fitting script, do:
root -l
.x RooBifurStudent.cxx
.x part4_fix1d_delm.C
amroo
April 1, 2021, 4:01pm
5
Hi, @moneta any ideas on this ??
thanks
moneta
April 9, 2021, 8:28am
6
Sorry for my late reply. I will look later today at your problem.
Thank you for sharing your code
Cheers
Lorenzo
moneta
April 9, 2021, 1:42pm
7
I can reproduce the problem using your code.
I see there is however a simple workaround for you, just use this line to show the parameter values:
mdzdel1.paramOn(deltam_frame, RooFit::Parameters(*flparams));
Lorenzo
moneta
April 9, 2021, 1:46pm
8
I have understood now what is happening,
just call RooAbsPdf::paramOn after calling RooAbsPdf::plotOn and it will be fine
Lorenzo
system
Closed
April 23, 2021, 1:46pm
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.