Hi Bernhard,
unfortunatly TError is used for producing error and warning messages
only for versions > 5.14.
I would reccomend too to try to fix the error. Probably Migrad fails
because you are giving wrong initial values
Best Regards
Lorenzo
On Mar 18, 2008, at 8:00 PM, Kevin Lynch wrote:
> Bernhard Bittner wrote:
>> Hi Lorenzo,
>> inserting
>> gErrorIgnoreLevel = 1001;
>> right at the beginning of the function where i call mimuit does not
>> change anything, I still get the same output.
>
> You need to set a bigger number to really shut up Minuit2 :-)
>
> If you want it REALLY quiet, try
>
> gErrorIgnoreLevel = kFatal;
>
> Take a look at the logic in the root source where it uses the value
> of gErrorIgnoreLevel: base/inc/TError.cxx and base/inc/TError.h
>
> This logic is the same in both 5.14 and 5.18, so I would imagine the
> above approach should work in either case.
>
> But you might really want to explore _why_ your minimizations are
> failing in the first place, rather than just silencing them ...
> they're telling you something is very wrong. I just spent a week
> doing exactly that, and it turned out my problems were much bigger
> than Minuit2 making lots of noise....
>
>> But I just found out, that since my classes are inside the ATLAS
>> ATHENA framework and this framework uses ROOT 5.14 I guess i will
>> have only the old version of ROOT to work with. Is there any other
>> way in 5.14 to turn this messages of?
>> Thanks,
>> Bernhard
>
>
> --
> -------------------------------------------------------------------------------
> Kevin Lynch voice: (617) 353-6025
> Physics Department Fax: (617) 353-9393
> Boston University office: PRB-361
> 590 Commonwealth Ave. e-mail: krlynch_at_bu.edu
> Boston, MA 02215 USA http://budoe.bu.edu/~krlynch
> -------------------------------------------------------------------------------
>
Received on Tue Mar 18 2008 - 21:21:50 CET
This archive was generated by hypermail 2.2.0 : Tue Mar 18 2008 - 23:50:01 CET