Re: [ROOT] A simple TMinuit question

From: Faouzi Attallah (F.Attallah@gsi.de)
Date: Wed Aug 16 2000 - 09:44:25 MEST


Hi,

The option "Q" in Fit() function is working fine as long as you stay in the
strategy level 1, nothing will thus be printed on the screen

h = new TH1x(xxx) ;
g = new TF1(xxx) ;
h->Fit("g", "QNR0") ;      //Quiet Mode, and ...

Faouzi

 On Wed, 16 Aug 2000, Timothy Smith wrote:
> Hello Mike and Marco, 
> 
> 	arglist[0]=1; 
> 
> will limit the printing of  info on the screen, but
> 
> 	arglist[0]=-1;
> 
> will give you *no* printing on the screen
> 
> 
> 	Double_t arglist[15];
> 	arglist[0]=-1;
> 	Int_t ierr;
> 	gMinuit->mnexcm("SET PRI",arglist,1,ierr);
> 
> 						Tim Smith
> _____________________________________________________________________
>  Timothy Paul Smith                               Research Scientist
>  MIT Bates Lab                                     tim_smith@mit.edu
>  21 Manning Rd.                                 tel:  (617) 253-9207
>  Middleton, MA 01949                            fax:  (617) 253-9599
> On Wed, 16 Aug 2000, Marco van Leeuwen wrote:
> 
> > I seem to recall some earlier roottalk messages about this, but I couldn't
> > find them. The least thing you can do is set the level of printout, using
> > e.g. (You'll have to figure out for yourself whcih number you want as
> > arglist[0]):
> > 
> > Double_t arglist[15];
> > arglist[0]=1;
> > Int_t ierr;
> > gMinuit->mnexcm("SET PRI",arglist,1,ierr);
> > 
> > This is also the only thing I found in the source of TH1:Fit, so it
> > should probably do the trick... (By the way, the (semi-)full MINUIT manual
> > is still available fdrom the CERN-site and might be usefull, if you want
> > to do somethings serious with MINUIT).
> > 
> > Hope this helps,
> > 
> > Marco van Leeuwen.
> > 
> > On Tue, 15 Aug 2000, Mike Miller wrote:
> > 
> > > I'm using TMinuit for the first time, and I would like to set the options
> > > to something that corresponds to the "Q" option in TH1::Fit(), i.e., I
> > > don't want to print anything to the screen.  I didn't find anything in
> > > TMinuit::mnhelp() regarding this.  Thanks, MLM
> > > 
> > > Michael L. Miller
> > > Yale Physics
> > > michael.miller@yale.edu
> > > BNL: 	(631) 344-8342
> > > 	Building 118
> > > 	Yale Software
> > > 
> > > 
> >
-- 
 F. Attallah 
GSI mbH 
(kpII)
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:31 MET