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.
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
On Tue, 18 Mar 2008 17:18:22 +0100, Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch> wrote:
> Hi Bernhard,
>
> the option gErrorIgnoreLevel, should work in the Minuit2 version 5.18
> distributed with ROOT.
> Try to set it to a value like 1001, before running the minimization.
>
> Best Regards
>
> Lorenzo
>
> On Mar 18, 2008, at 4:05 PM, Bernhard Bittner wrote:
>
>> Hi all,
>>
>> i'm using Minuit2 from ROOT (5.18.00 on linux) to do some fitting. Some
>> of the fits fail and i get messages like
>>
>> CombinedMinimumBuilder: migrad method fails, will try with simplex
>> method first.
>> CombinedMinimumBuilder: both migrad and method fails also at 2nd
>> attempt.
>> CombinedMinimumBuilder: return simplex Minimum
>> VariableMetricBuilder: matrix not pos.def.
>> edm < 0
>>
>> is there a way to sot munuit from telling me all that suff? I found one
>> option to set the uotput level in ROOT itself (gErrorIgnoreLevel), but
>> this does not work on the Minuit2 output.
>>
>> I'm calling Muniut2 via
>>
>> FitFcn FCN(data_points); // derived from ROOT::Minuit2::FCNBase
>> MnUserParameters upar_rpc;
>> upar_rpc.Add("a", 1 , .1);
>> /** create minimizer */
>> MnMinimize migrad_rpc(FCN, upar_rpc);
>> /** ... and minimize */
>> FunctionMinimum min_rpc = migrad_rpc();
>>
>> Many Thanks!
>> Bernhard
>> --Bernhard Bittner
>> mailto:bernhard.bittner_at_cern.ch
>>
>
-- Bernhard Bittner mailto:bernhard.bittner_at_cern.chReceived on Tue Mar 18 2008 - 18:03:50 CET
This archive was generated by hypermail 2.2.0 : Tue Mar 18 2008 - 23:50:01 CET