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>
Include dependency graph for RooMsgService.h:

Classes

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

Macros

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

Macro Definition Documentation

◆ ANYDEBUG

#define ANYDEBUG   (RooMsgService::_debugCount>0)

Definition at line 64 of file RooMsgService.h.

◆ ccoutD

#define ccoutD (   a)    RooMsgService::instance().log(this,RooFit::DEBUG,RooFit::a,true)

Definition at line 41 of file RooMsgService.h.

◆ ccoutE

#define ccoutE (   a)    RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a,true)

Definition at line 45 of file RooMsgService.h.

◆ ccoutF

#define ccoutF (   a)    RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a,true)

Definition at line 46 of file RooMsgService.h.

◆ ccoutI

#define ccoutI (   a)    RooMsgService::instance().log(this,RooFit::INFO,RooFit::a,true)

Definition at line 42 of file RooMsgService.h.

◆ ccoutP

#define ccoutP (   a)    RooMsgService::instance().log(this,RooFit::PROGRESS,RooFit::a,true)

Definition at line 43 of file RooMsgService.h.

◆ ccoutW

#define ccoutW (   a)    RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a,true)

Definition at line 44 of file RooMsgService.h.

◆ ccxcoutD

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

Definition at line 86 of file RooMsgService.h.

◆ ccxcoutE

#define ccxcoutE (   a)    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)    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)    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)    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)    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)    RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a)

Definition at line 37 of file RooMsgService.h.

◆ coutF

#define coutF (   a)    RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a)

Definition at line 38 of file RooMsgService.h.

◆ coutI

#define coutI (   a)    RooMsgService::instance().log(this,RooFit::INFO,RooFit::a)

Definition at line 34 of file RooMsgService.h.

◆ coutP

#define coutP (   a)    RooMsgService::instance().log(this,RooFit::PROGRESS,RooFit::a)

Definition at line 35 of file RooMsgService.h.

◆ coutW

#define coutW (   a)    RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a)

Definition at line 36 of file RooMsgService.h.

◆ cxcoutD

#define cxcoutD (   a)    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)    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)    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)    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)    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)    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)    (ANYDEBUG && RooMsgService::instance().isActive(this,RooFit::a,RooFit::DEBUG))

Definition at line 69 of file RooMsgService.h.

◆ dologE

#define dologE (   a)    (RooMsgService::instance().isActive(this,RooFit::a,RooFit::ERROR))

Definition at line 73 of file RooMsgService.h.

◆ dologF

#define dologF (   a)    (RooMsgService::instance().isActive(this,RooFit::a,RooFit::FATAL))

Definition at line 74 of file RooMsgService.h.

◆ dologI

#define dologI (   a)    (RooMsgService::instance().isActive(this,RooFit::a,RooFit::INFO))

Definition at line 70 of file RooMsgService.h.

◆ dologP

#define dologP (   a)    (RooMsgService::instance().isActive(this,RooFit::a,RooFit::PROGRESS))

Definition at line 71 of file RooMsgService.h.

◆ dologW

#define dologW (   a)    (RooMsgService::instance().isActive(this,RooFit::a,RooFit::WARNING))

Definition at line 72 of file RooMsgService.h.

◆ ooccoutD

#define ooccoutD (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::DEBUG,RooFit::a,true)

Definition at line 56 of file RooMsgService.h.

◆ ooccoutE

#define ooccoutE (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::ERROR,RooFit::a,true)

Definition at line 60 of file RooMsgService.h.

◆ ooccoutF

#define ooccoutF (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::FATAL,RooFit::a,true)

Definition at line 61 of file RooMsgService.h.

◆ ooccoutI

#define ooccoutI (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::INFO,RooFit::a,true)

Definition at line 57 of file RooMsgService.h.

◆ ooccoutP

#define ooccoutP (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::PROGRESS,RooFit::a,true)

Definition at line 58 of file RooMsgService.h.

◆ ooccoutW

#define ooccoutW (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::WARNING,RooFit::a,true)

Definition at line 59 of file RooMsgService.h.

◆ ooccxcoutD

#define ooccxcoutD (   o,
  a 
)    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 
)    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 
)    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 
)    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 
)    if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(o,RooFit::PROGRESS,RooFit::a,true)

Definition at line 96 of file RooMsgService.h.

◆ ooccxcoutW

#define ooccxcoutW (   o,
  a 
)    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 
)    RooMsgService::instance().log(o,RooFit::ERROR,RooFit::a)

Definition at line 52 of file RooMsgService.h.

◆ oocoutF

#define oocoutF (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::FATAL,RooFit::a)

Definition at line 53 of file RooMsgService.h.

◆ oocoutI

#define oocoutI (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::INFO,RooFit::a)

Definition at line 49 of file RooMsgService.h.

◆ oocoutP

#define oocoutP (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::PROGRESS,RooFit::a)

Definition at line 50 of file RooMsgService.h.

◆ oocoutW

#define oocoutW (   o,
  a 
)    RooMsgService::instance().log(o,RooFit::WARNING,RooFit::a)

Definition at line 51 of file RooMsgService.h.

◆ oocxcoutD

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

Definition at line 87 of file RooMsgService.h.

◆ oocxcoutE

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

Definition at line 103 of file RooMsgService.h.

◆ oocxcoutF

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

Definition at line 107 of file RooMsgService.h.

◆ oocxcoutI

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

Definition at line 91 of file RooMsgService.h.

◆ oocxcoutP

#define oocxcoutP (   o,
  a 
)    if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(o,RooFit::PROGRESS,RooFit::a)

Definition at line 95 of file RooMsgService.h.

◆ oocxcoutW

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

Definition at line 99 of file RooMsgService.h.

◆ oodologD

#define oodologD (   o,
  a 
)    (ANYDEBUG && RooMsgService::instance().isActive(o,RooFit::a,RooFit::DEBUG))

Definition at line 76 of file RooMsgService.h.

◆ oodologE

#define oodologE (   o,
  a 
)    (RooMsgService::instance().isActive(o,RooFit::a,RooFit::ERROR))

Definition at line 80 of file RooMsgService.h.

◆ oodologF

#define oodologF (   o,
  a 
)    (RooMsgService::instance().isActive(o,RooFit::a,RooFit::FATAL))

Definition at line 81 of file RooMsgService.h.

◆ oodologI

#define oodologI (   o,
  a 
)    (RooMsgService::instance().isActive(o,RooFit::a,RooFit::INFO))

Definition at line 77 of file RooMsgService.h.

◆ oodologP

#define oodologP (   o,
  a 
)    (RooMsgService::instance().isActive(o,RooFit::a,RooFit::PROGRESS))

Definition at line 78 of file RooMsgService.h.

◆ oodologW

#define oodologW (   o,
  a 
)    (RooMsgService::instance().isActive(o,RooFit::a,RooFit::WARNING))

Definition at line 79 of file RooMsgService.h.