[ROOT] How to redirect MINUIT output

From: Jerome Baudot (baudot@in2p3.fr)
Date: Tue Dec 11 2001 - 16:18:01 MET


Hello,

I'm using the TMinuit class to minimize some likelyhood function in the
middle of another data analysis. I would like to get the print out of
minuit with all the messages from Migrad and all that kind of stuff.

I remember in FORTRAN we were using the MNINIT subroutine to redirect
these output which is still available as a method of a class. BUT it
asks for unit number (integer), which was the way FORTRAN handle
file...There is no such thing to my knowledge in C++, is there ?
I tryed nevertheless to initialize with gMinuit->mninit(5,10,7), and get
nothing in a new ftn10-like file.

So how can I do that? I have to specify that I don't want to do
something like
"root myMacro.C >> output.txt", because there are many more outputs from
myMacro that I don't want to keep.

Thanks for the support,

Jerome
-- 
IReS - Universite L.Pasteur Strasbourg 
23 rue du Loess, BP28, F-67037 Strasbourg France
tel +33 (0)3 88 10 66 32 / fax +33 (0)3 88 10 66 16



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