#include <RooFitGlobalKillSentry.h>
Public Member Functions | |
RooFitGlobalKillSentry (RooFit::MsgLevel level=RooFit::WARNING) | |
~RooFitGlobalKillSentry () | |
Private Attributes | |
RooFit::MsgLevel | globalKill_ |
This class sets the global kill for RooFit messages to some value when created, and resets it to the old value when destroyed.
Definition at line 8 of file RooFitGlobalKillSentry.h.
RooFitGlobalKillSentry::RooFitGlobalKillSentry | ( | RooFit::MsgLevel | level = RooFit::WARNING | ) | [inline] |
Definition at line 10 of file RooFitGlobalKillSentry.h.
References instance, and testEve_cfg::level.
: globalKill_(RooMsgService::instance().globalKillBelow()) { RooMsgService::instance().setGlobalKillBelow(level); }
RooFitGlobalKillSentry::~RooFitGlobalKillSentry | ( | ) | [inline] |
Definition at line 16 of file RooFitGlobalKillSentry.h.
References globalKill_, and instance.
{ RooMsgService::instance().setGlobalKillBelow(globalKill_); }
RooFit::MsgLevel RooFitGlobalKillSentry::globalKill_ [private] |
Definition at line 20 of file RooFitGlobalKillSentry.h.
Referenced by ~RooFitGlobalKillSentry().