Parameters in line3Dfit.C


I am having a look at the tutorials to try to understand how to use TVirtualFitter.
In the tutorials, the macro line3Dfit.C has the following lines:


And having a look at the class TVirtualFitter, the last two parameter are named vlow and vhigh.
Then I assume that that would mean that these are the limits that the parameter could take, if that is
correct, then why set both limits to 0? Also, is there any rule of thumb to decide which value use for the
third parameter value?

Thanks a lot in advance for the help,


If vlow and vhigh are equal to zero the parameters are considered unlimited.

You need also to specify the initial parameter value which must be your best guess as close as possible to the parameter value at the function minimum.
The other parameter is the starting step size or an approximate parameter error. If the error is not known, normally something of the order of 10% of the value or of the allowed range is fine. It is not a critical value, the minimizer normally finds the optimal value after the first iteration.

Best Regards