Using TH1.Fit()

From: Marco van Leeuwen (mvl@nikhef.nl)
Date: Mon Aug 16 1999 - 12:17:33 MEST


Hi all,


At the moment I am trying to automatically fit a number of histograms. In
many cases TH1.Fit() works satisfactorily. However, in a few cases, (but
too many to my liking), the fitting stops at a certain "maximum number of
function evaluations", somewhere around 500 times (probably dependent on
the number of parameters). Is there any way to have the program detect this
type of failure? The TH1.Fit() function has no return type, maybe an error
code would do? Another possiblity is to add an option to specify the max
number of func. evals.

OR, should I revert to using the TMinuit class and provide this kind of
functionality myself?

regards,

Marco van Leeuwen.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET