Hello,
I'm trying to obtain the full fit results after fitting a plot, but it's not working out
in a manner I’d have expected from reading the documentation. Is there some way to
obtain these results ?
Kyle.
TGraphErrors *xGr1 = new TGraphErrors(n,x,y,ex,ey);
TFitResult pxR = xGr1->Fit(“pol3”,“S”);
pxR->Print(“V”);
results in :-
Warning: Automatic variable TFitResult pxR is allocated Evaluate.c:67:
Error: Symbol pxR is not defined in current scope Evaluate.c:68:
Error: Failed to evaluate pxR->Print(“V”)
*** Interpreter error recovered ***