[ROOT] Re: Minuit in Quiet mode

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 19 2000 - 22:26:40 MEST


Hi Faouzi,
I do not know if you mean option "Q" in TH1::Fit or what.
The option "Q" in TH1::Fit sets the following Minuit options:
  double arglist = 0;
  gMinuit->mnexcm("SET NOWarnings",&arglist,1,..   
  arglist = -1;
  gMinuit->mnexcm("SET PRint",&arglist,1,..

When using this option "Q", you should not get any printout at all.

Rene Brun


On Mon, 19 Jun 2000, Faouzi Attallah wrote:

> Hi Rene,
> 
> When fitting one can turn-off the warnings and printout via
>           fit option Q
> and    gMinuit->mnexcm("SET NOW", &nbr, 1, i);
> or       nbr = -1 ; gMinuit->mnexcm("SET PRI", &nbr, 1, i);
> Despite this I still getting the following message :
> 	FUNCTION MUST BE MINIMIZED BEFORE CALLING MINOs 
> is there anyway to get rid of this when the QUiET mode is called.
> (I have more than 400 fits/spectrum, and a considerable amount of spectra each
> time).
> 
> Thanks a lot.
> Faouzi
> 
> Dr. F. Attallah 
> GSI mbH 
> Planckstr 1
> D-64291 Darmstadt 
>   Tel: +49 (0)6159 71 2743
>   Fax: +49 (0)6159 71 2901
> Email: F.Attallah@gsi.de
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET