Fitting problem

hiii there
i want to understand about the fitting coefficinets which i am getting after running the macro fithist.C in ROOTSYS/tutorials/fit as far my knowledge is concern the initially i give some guess value and it iterates untill the convergence happens and it finally gives fitting parametesrs p0,p1,p2,p3 how can i use this coefficients to reproduce the whole fitted function

Davinder Siwal


the fitted parameter values are also stored after fitting in the fit function object represented by a TF1.
In the case of the tutorial you can retrieve them as an array with

double * params = ftot->GetParameters()

Best Regards