TFitter and GetMinuit() method


I have a quite primitive question concerning the TFitter.

I’m using TFitter for a custom minimization and would now like to plot a contour of the results. In the documentation I found that TMINUIT provides this and so I tried to get the TMinuit member via the public TFitter method “GetMinuit()” (

This however just produces the error message

root [] pt_fitter->GetMinuit()
Error: Can't call TFitter::GetMinuit() in current scope (tmpfile):1:
Possible candidates are...
(in TFitter)
*** Interpreter error recovered ***

Other public methods like

root [] pt_fitter->GetCovarianceMatrix()
(const Double_t*)0x15af560

work as intended. The minimization itself also worked, so the TFitter should be correctly initialized …
Is there something I’m missing?

Thanks in advance!
Regards, Wolfgang

the error looks strange to me. I would try to compile your macro with ACLIC