Re: [ROOT] Fit question

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 13 2001 - 07:17:49 MEST


Hi Dmitri,

I suppose you mean in an interactive session.
Like for any other command/instruction, you can divert stdout to a file
 root > h.Fit("gaus"); >fit.log
 root > .x myfit.C > myfit.log

You can suppress the output via the "Quiet" option
 root > h.Fit("gaus","q")


Rene Brun

On Thu, 12 Jul 2001, Dmitri Litvintsev wrote:

> 
> 
> Hi ROOTers,
> 
> How can I redirect output of the MINUIT. I mean this text:
> 
> FCN=0 FROM MIGRAD    STATUS=CONVERGED      75 CALLS          76 TOTAL
>                      EDM=0    STRATEGY= 1  ERROR MATRIX UNCERTAINTY 100.0
> per cent
>   EXT PARAMETER                APPROXIMATE        STEP         FIRST
>   NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE
>    1  p0           0.00000e+00   1.41421e+00   0.00000e+00   0.00000e+00
>    2  p1           0.00000e+00   1.41421e+00   0.00000e+00   0.00000e+00
> 
> to for example a file?
> 
> 
> Dmitri Litvintsev
> 
> /----------------------------------------------------------\
> | Tel:       (630) 840 5005                                |
> | FAX:       (630) 840 2968                                |
> | office:    169-E CDF Trailers                            |
> | E-mail:    litvinse@fnal.gov                             |
> \----------------------------------------------------------/
> 
> 
> 
> 



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