I am trying to fit the data with a complicated function with 5 fit parameters.
Can someone suggest what is the best way to fit in root.
Can someone suggest how does a template fit works and will it be applicable in this case?
I am defining a function and then fitting that function to the data.
The main problem is that the fit depends heavily on the initial value of parameter. Even if I change the initial value of a parameter from 1000000 to 1000010 (for exmple) the fit deviates from data and most of the time it does not even converge. Fit status says failed.
I know the order of fit parameter but I do not know the exact range.