I perform a fit directly with MINUIT (i.e. minimizing my own LogLikelihood).
For some further processing I would like to access the fit results (i.e. parameter values and corresponding covariance matrix elements).
In the MINUIT documentation I found mnmatu, which prints the covariance matrix. But I found no functions that return the parameters’ fit results or their covariance matrix elements as floats or so.
From the ROOT interface to MINUIT I know that I can get the fit results with
TVirtualFitter::GetFitter()->GetCovarianceMatrixElement(i,i)
etc. – so I guess that it should be possible to get the values directly from MINUIT, or?
Just for curiosity: Can I use the ROOT ‘wrapper’ functions as TVirtualfitter when I perform a fit directly with MINUIT. So, TVirtualFitter also only gives an interface to the particular fit, right? Then I could recycle some of my previous code.