Logo ROOT  
Reference Guide
RooHelpers::LocalChangeMsgLevel Class Reference

Switches the message service to verbose while the instance alive.

Definition at line 29 of file RooHelpers.h.

Public Member Functions

 LocalChangeMsgLevel (RooFit::MsgLevel lvl=RooFit::DEBUG, RooFit::MsgTopic extraTopics=static_cast< RooFit::MsgTopic >(0u))
 Change message level (and topics) while this object is alive, reset when it goes out of scope. More...
 
 ~LocalChangeMsgLevel ()
 

Private Attributes

RooMsgService::StreamConfig fOldConf
 
RooFit::MsgLevel fOldKillBelow
 

#include <RooHelpers.h>

Constructor & Destructor Documentation

◆ LocalChangeMsgLevel()

RooHelpers::LocalChangeMsgLevel::LocalChangeMsgLevel ( RooFit::MsgLevel  lvl = RooFit::DEBUG,
RooFit::MsgTopic  extraTopics = static_cast<RooFit::MsgTopic>(0u) 
)
inline

Change message level (and topics) while this object is alive, reset when it goes out of scope.

Parameters
[in]lvlThe desired message level. Defaults to verbose.
[in]extraTopicsExtra topics to be switched on.

Definition at line 34 of file RooHelpers.h.

◆ ~LocalChangeMsgLevel()

RooHelpers::LocalChangeMsgLevel::~LocalChangeMsgLevel ( )
inline

Definition at line 45 of file RooHelpers.h.

Member Data Documentation

◆ fOldConf

RooMsgService::StreamConfig RooHelpers::LocalChangeMsgLevel::fOldConf
private

Definition at line 53 of file RooHelpers.h.

◆ fOldKillBelow

RooFit::MsgLevel RooHelpers::LocalChangeMsgLevel::fOldKillBelow
private

Definition at line 52 of file RooHelpers.h.

Libraries for RooHelpers::LocalChangeMsgLevel:
[legend]

The documentation for this class was generated from the following file: