Fix Parameter with ROOT::Fit::FitConfig

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 :innocent:

I think @moneta can help.

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


ah perfect! Thank you a lot!

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