Re: [ROOT] Fitting with a lot of parameters

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Aug 13 2002 - 15:52:12 MEST


Hi Miha,

The documentation of TH1::Fit has a section

  Changing the maximum number of parameters
   =========================================
  By default, the fitter TMinuit is initialized with a maximum of 25 
parameters.
  You can redefine this default value by calling :
 TVirtualFitter::Fitter(0,150); //to get a maximum of 150 parameters

Rene Brun

On Tue, 13 Aug 2002 miha.puc@marvin.fmf.uni-lj.si wrote:

> Hi!
> 
> I fit functions with more than 25 parameters. So before that I call 
> new TFitter(100), but still get Minuit complaining:
>  ...
>  ... 
>  MINUIT USER ERROR.   TOO MANY VARIABLE PARAMETERS.
> 
>  ...
> 
>  ERROR: ABOVE CALL TO MNEXCM TRIED TO PASS MORE THAN 25 PARAMETERS.
> 
>  ...
> 
> I use Root Version   3.03/07    12 August 2002 on RH 7.2
> 
> Regards
> Miha
> 
> -- 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET