Re: [ROOT] Several Minuit calls at the same time

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Apr 18 2001 - 15:21:52 MEST


Hi Pascal,

Currently, TH1 or TGraph::Fit cannot make nested fits.
All TH1 or TGraph objects share the same fitter. Support for nested fits
would require each object having its own fitter.
I would not like to implement this by default because fitters are quite
fat objects, but it could be an option for cases like yours.

Could you send me a subset of your example ?

Rene Brun

Pascal Perrodo wrote:
> 
> Hi,
> 
> I am doing the following:
> in a c++ code, compiled and linked with the ROOT libraries, I use the
> class TMinuit to minimize a fonction f(x). In order to compute the value
> of f(x) I need to perform auxilliary fits on a temporary histogram of
> Graph g. When I do this the program systematically crashes when I call
> g->Fit() in the code of the function f(x). It seems that I cannot call two
> minimizations using Minuit at the same time.
> Any clues for this problem ? Many thanks in advance,
> 
>                              Pascal Perrodo.
> 
> +-------------------------------------------------------------------------+
> | Tel : 04 50 09 16 32 (from France), 00 33 4 50 09 16 32 (from abroad)   |
> | FAX : 04 50 27 94 95 (from France), 00 33 4 50 27 94 95 (from abroad)   |
> |                                                                         |
> | LAPP, Chemin de Bellevue, BP 110, F-74941 Annecy-le-Vieux CEDEX         |
> +-------------------------------------------------------------------------+



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET