Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RooMsgService.h File Reference
#include <RooCmdArg.h>
#include <RooGlobalFunc.h>
#include <TObject.h>
#include <cstddef>
#include <string>
#include <vector>
#include <stack>
#include <map>

Classes

class  RooMsgService
 Singleton class that organizes messages generated in RooFit. More...
struct  RooMsgService::StreamConfig

Macros

#define ANYDEBUG   (RooMsgService::_debugCount>0)
#define ccoutD(a)
#define ccoutE(a)
#define ccoutF(a)
#define ccoutI(a)
#define ccoutP(a)
#define ccoutW(a)
#define ccxcoutD(a)
#define ccxcoutE(a)
#define ccxcoutF(a)
#define ccxcoutI(a)
#define ccxcoutP(a)
#define ccxcoutW(a)
#define coutE(a)
#define coutF(a)
#define coutI(a)
#define coutP(a)
#define coutW(a)
#define cxcoutD(a)
#define cxcoutE(a)
#define cxcoutF(a)
#define cxcoutI(a)
#define cxcoutP(a)
#define cxcoutW(a)
#define dologD(a)
#define dologE(a)
#define dologF(a)
#define dologI(a)
#define dologP(a)
#define dologW(a)
#define ooccoutD(o, a)
#define ooccoutE(o, a)
#define ooccoutF(o, a)
#define ooccoutI(o, a)
#define ooccoutP(o, a)
#define ooccoutW(o, a)
#define ooccxcoutD(o, a)
#define ooccxcoutE(o, a)
#define ooccxcoutF(o, a)
#define ooccxcoutI(o, a)
#define ooccxcoutP(o, a)
#define ooccxcoutW(o, a)
#define oocoutE(o, a)
#define oocoutF(o, a)
#define oocoutI(o, a)
#define oocoutP(o, a)
#define oocoutW(o, a)
#define oocxcoutD(o, a)
#define oocxcoutE(o, a)
#define oocxcoutF(o, a)
#define oocxcoutI(o, a)
#define oocxcoutP(o, a)
#define oocxcoutW(o, a)
#define oodologD(o, a)
#define oodologE(o, a)
#define oodologF(o, a)
#define oodologI(o, a)
#define oodologP(o, a)
#define oodologW(o, a)

Macro Definition Documentation

◆ ANYDEBUG

#define ANYDEBUG   (RooMsgService::_debugCount>0)

Definition at line 64 of file RooMsgService.h.

◆ ccoutD

#define ccoutD ( a)
Value:
std::ostream & log(const RooAbsArg *self, RooFit::MsgLevel level, RooFit::MsgTopic facility, bool forceSkipPrefix=false)
Log error message associated with RooAbsArg object self at given level and topic.
static RooMsgService & instance()
Return reference to singleton instance.

Definition at line 41 of file RooMsgService.h.

◆ ccoutE

#define ccoutE ( a)
Value:

Definition at line 45 of file RooMsgService.h.

◆ ccoutF

#define ccoutF ( a)
Value:

Definition at line 46 of file RooMsgService.h.

◆ ccoutI

#define ccoutI ( a)
Value:

Definition at line 42 of file RooMsgService.h.

◆ ccoutP

#define ccoutP ( a)
Value:

Definition at line 43 of file RooMsgService.h.

◆ ccoutW

#define ccoutW ( a)
Value:

Definition at line 44 of file RooMsgService.h.

◆ ccxcoutD

#define ccxcoutD ( a)
Value:
if (ANYDEBUG && RooMsgService::instance().isActive(this,RooFit::a,RooFit::DEBUG)) RooMsgService::instance().log(this,RooFit::DEBUG,RooFit::a,true)
#define ANYDEBUG

Definition at line 86 of file RooMsgService.h.

◆ ccxcoutE

#define ccxcoutE ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::ERROR)) RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a,true)

Definition at line 102 of file RooMsgService.h.

◆ ccxcoutF

#define ccxcoutF ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::FATAL)) RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a,true)

Definition at line 106 of file RooMsgService.h.

◆ ccxcoutI

#define ccxcoutI ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::INFO)) RooMsgService::instance().log(this,RooFit::INFO,RooFit::a,true)

Definition at line 90 of file RooMsgService.h.

◆ ccxcoutP

#define ccxcoutP ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(this,RooFit::PROGRESS,RooFit::a,true)

Definition at line 94 of file RooMsgService.h.

◆ ccxcoutW

#define ccxcoutW ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::WARNING)) RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a,true)

Definition at line 98 of file RooMsgService.h.

◆ coutE

#define coutE ( a)
Value:

Definition at line 37 of file RooMsgService.h.

◆ coutF

#define coutF ( a)
Value:

Definition at line 38 of file RooMsgService.h.

◆ coutI

#define coutI ( a)
Value:

Definition at line 34 of file RooMsgService.h.

◆ coutP

#define coutP ( a)
Value:

Definition at line 35 of file RooMsgService.h.

◆ coutW

#define coutW ( a)
Value:

Definition at line 36 of file RooMsgService.h.

◆ cxcoutD

#define cxcoutD ( a)
Value:
if (ANYDEBUG && RooMsgService::instance().isActive(this,RooFit::a,RooFit::DEBUG)) RooMsgService::instance().log(this,RooFit::DEBUG,RooFit::a)

Definition at line 85 of file RooMsgService.h.

◆ cxcoutE

#define cxcoutE ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::ERROR)) RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a)

Definition at line 101 of file RooMsgService.h.

◆ cxcoutF

#define cxcoutF ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::FATAL)) RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a)

Definition at line 105 of file RooMsgService.h.

◆ cxcoutI

#define cxcoutI ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::INFO)) RooMsgService::instance().log(this,RooFit::INFO,RooFit::a)

Definition at line 89 of file RooMsgService.h.

◆ cxcoutP

#define cxcoutP ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(this,RooFit::PROGRESS,RooFit::a)

Definition at line 93 of file RooMsgService.h.

◆ cxcoutW

#define cxcoutW ( a)
Value:
if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::WARNING)) RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a)

Definition at line 97 of file RooMsgService.h.

◆ dologD

#define dologD ( a)
Value:
bool isActive(T self, RooFit::MsgTopic topic, RooFit::MsgLevel level)
Check if logging is active for given object/topic/RooFit::MsgLevel combination.

Definition at line 69 of file RooMsgService.h.

◆ dologE

#define dologE ( a)
Value:

Definition at line 73 of file RooMsgService.h.

◆ dologF

#define dologF ( a)
Value:

Definition at line 74 of file RooMsgService.h.

◆ dologI

#define dologI ( a)
Value:

Definition at line 70 of file RooMsgService.h.

◆ dologP

#define dologP ( a)
Value:

Definition at line 71 of file RooMsgService.h.

◆ dologW

#define dologW ( a)
Value:

Definition at line 72 of file RooMsgService.h.

◆ ooccoutD

#define ooccoutD ( o,
a )
Value:

Definition at line 56 of file RooMsgService.h.

◆ ooccoutE

#define ooccoutE ( o,
a )
Value:

Definition at line 60 of file RooMsgService.h.

◆ ooccoutF

#define ooccoutF ( o,
a )
Value:

Definition at line 61 of file RooMsgService.h.

◆ ooccoutI

#define ooccoutI ( o,
a )
Value:

Definition at line 57 of file RooMsgService.h.

◆ ooccoutP

#define ooccoutP ( o,
a )
Value:

Definition at line 58 of file RooMsgService.h.

◆ ooccoutW

#define ooccoutW ( o,
a )
Value:

Definition at line 59 of file RooMsgService.h.

◆ ooccxcoutD

#define ooccxcoutD ( o,
a )
Value:
if (ANYDEBUG && RooMsgService::instance().isActive(o,RooFit::a,RooFit::DEBUG)) RooMsgService::instance().log(o,RooFit::DEBUG,RooFit::a,true)

Definition at line 88 of file RooMsgService.h.

◆ ooccxcoutE

#define ooccxcoutE ( o,
a )
Value:
if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::ERROR)) RooMsgService::instance().log(o,RooFit::ERROR,RooFit::a,true)

Definition at line 104 of file RooMsgService.h.

◆ ooccxcoutF

#define ooccxcoutF ( o,
a )
Value:
if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::FATAL)) RooMsgService::instance().log(o,RooFit::FATAL,RooFit::a,true)

Definition at line 108 of file RooMsgService.h.

◆ ooccxcoutI

#define ooccxcoutI ( o,
a )
Value:
if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::INFO)) RooMsgService::instance().log(o,RooFit::INFO,RooFit::a,true)

Definition at line 92 of file RooMsgService.h.

◆ ooccxcoutP

#define ooccxcoutP ( o,
a )
Value:

Definition at line 96 of file RooMsgService.h.

◆ ooccxcoutW

#define ooccxcoutW ( o,
a )
Value:
if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::WARNING)) RooMsgService::instance().log(o,RooFit::WARNING,RooFit::a,true)

Definition at line 100 of file RooMsgService.h.

◆ oocoutE

#define oocoutE ( o,
a )
Value:

Definition at line 52 of file RooMsgService.h.

◆ oocoutF

#define oocoutF ( o,
a )
Value:

Definition at line 53 of file RooMsgService.h.

◆ oocoutI

#define oocoutI ( o,
a )
Value:

Definition at line 49 of file RooMsgService.h.

◆ oocoutP

#define oocoutP ( o,
a )
Value:

Definition at line 50 of file RooMsgService.h.

◆ oocoutW

#define oocoutW ( o,
a )
Value:

Definition at line 51 of file RooMsgService.h.

◆ oocxcoutD

#define oocxcoutD ( o,
a )
Value:

Definition at line 87 of file RooMsgService.h.

◆ oocxcoutE

#define oocxcoutE ( o,
a )
Value:

Definition at line 103 of file RooMsgService.h.

◆ oocxcoutF

#define oocxcoutF ( o,
a )
Value:

Definition at line 107 of file RooMsgService.h.

◆ oocxcoutI

#define oocxcoutI ( o,
a )
Value:

Definition at line 91 of file RooMsgService.h.

◆ oocxcoutP

#define oocxcoutP ( o,
a )
Value:

Definition at line 95 of file RooMsgService.h.

◆ oocxcoutW

#define oocxcoutW ( o,
a )
Value:

Definition at line 99 of file RooMsgService.h.

◆ oodologD

#define oodologD ( o,
a )
Value:

Definition at line 76 of file RooMsgService.h.

◆ oodologE

#define oodologE ( o,
a )
Value:

Definition at line 80 of file RooMsgService.h.

◆ oodologF

#define oodologF ( o,
a )
Value:

Definition at line 81 of file RooMsgService.h.

◆ oodologI

#define oodologI ( o,
a )
Value:

Definition at line 77 of file RooMsgService.h.

◆ oodologP

#define oodologP ( o,
a )
Value:

Definition at line 78 of file RooMsgService.h.

◆ oodologW

#define oodologW ( o,
a )
Value:

Definition at line 79 of file RooMsgService.h.