Re: silent mode in RooFit

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Wed, 29 Jun 2011 20:25:49 +0000


Hi,
 You can use the RooMsgService to do that. To ilent all Info messages, but keeping all waring and Error you can do:

RooMsgService::instance().setGlobalKillBelow(RooFit::WARNING)

See the RooMSgService doc or the tutorial tutorials/roofit/rf506_msgservice.C

 Cheers, Lorenzo
On Jun 29, 2011, at 10:57 AM, Danek Kotlinski wrote:

> Hello,
> I would like to have a silent mode in RooFit.
> More precisely I am trying to suppress messages of the type:
>
> [#1] INFO: .......
>
> I have not found an easy way how to do it, can somebody help me please?
> Thanks,
> Danek
>
Received on Wed Jun 29 2011 - 22:25:54 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 30 2011 - 11:50:01 CEST