Hi,
My code goes like this:
int main()
{
TFiter minuit = TFiter(6);
minuit->SetFCN(figureofmerit);
minuit->SetParameter(0,"Psi(Rz) ",-30deg, 0.1deg, 0.,0.);
minuit->SetParameter(1,“Theta(Ry)”, 92deg, 0.1deg, 0.,0.);
minuit->SetParameter(2,"Phi(Rz) ", 90deg, 0.1*deg, 0.,0.);
minuit->SetParameter(3,"dx ", 0, 0.1, 0.,0.);
minuit->SetParameter(4,"dy ", 102, 0.1, 0.,0.);
minuit->SetParameter(5,"dz ", -7.5, 0.1, 0.,0.);
minuit->ExecuteCommand(“MIGRAD”, arglist, 0);
minuit->ExecuteCommand(“MINOS”, arglist, 0);
}
After the fit is there a way to return the fit status (“converged”, “failed”) from the object minuit? A member function like string GetStatus(), so that I can do minuit->GetStatus() is what I am looking for. And when I return the errors using GetErrors, those will be the MINOS errors? If I use rather Hesse, they will be the hesse errors? If I dont use anything Hesse is the default? And what are supposed to be the arguments in arglist?
Thanks.