Please read tips for efficient and successful posting and posting code
ROOT Version: 6
Platform: Not Provided
Compiler: Not Provided
Simple question :
ROOT::Math::Minimizer has a
SetVariableLimit function which does the same as
SetParameter did in old ROOT5
TFitterMinuit . Is there an equivalent in
GetParameter ? I don’t see anything obvious in the documentation.
The function to retrieve the parameter (i.e. the variables in the Minimizer) is :
const double * X() const see
But you might need to run
Thanks. X() gives me just the parameter value after the fit, not the rest of the parameters that GetParameter gives me. However, since posting the question I found that GetVariableSettings( unsigned int ivar, ROOT::Fit::ParameterSettings& ) gets me all of them.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.