Hey you all,
I have not much experience with fitting spectra via ROOT::Fit::FitConfig so my question is:
is there an easy way to fix one single parameter in analogy to “SetParamsSettings”?
Thanks
Hey you all,
I have not much experience with fitting spectra via ROOT::Fit::FitConfig so my question is:
is there an easy way to fix one single parameter in analogy to “SetParamsSettings”?
Thanks
Hi,
Yes you can easily fix a single parameter.
Let’s take as fitting example the tutorial combinedFit.C
. There you have a line where a parameter is fixed, by calling:
// fix 5-th parameter
fitter.Config().ParSettings(4).Fix();
Lorenzo
ah perfect! Thank you a lot!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.