Logo ROOT   6.08/07
Reference Guide
Classes | Macros | Variables
RooMsgService.h File Reference
#include "Riosfwd.h"
#include <assert.h>
#include "TObject.h"
#include <string>
#include <vector>
#include <stack>
#include <map>
#include "RooCmdArg.h"
#include "RooGlobalFunc.h"
Include dependency graph for RooMsgService.h:

Classes

class  RooMsgService
 The RooMsgService class is a singleton class that organizes informational, debugging, warning and errors messages generated by the RooFit core code. More...
 
struct  RooMsgService::StreamConfig
 

Macros

#define ANYDEBUG   (RooMsgService::_debugCount>0)
 
#define ccoutD(a)   RooMsgService::instance().log(this,RooFit::DEBUG,RooFit::a,kTRUE)
 
#define ccoutE(a)   RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a,kTRUE)
 
#define ccoutF(a)   RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a,kTRUE)
 
#define ccoutI(a)   RooMsgService::instance().log(this,RooFit::INFO,RooFit::a,kTRUE)
 
#define ccoutP(a)   RooMsgService::instance().log(this,RooFit::PROGRESS,RooFit::a,kTRUE)
 
#define ccoutW(a)   RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a,kTRUE)
 
#define ccxcoutD(a)   if (ANYDEBUG && RooMsgService::instance().isActive(this,RooFit::a,RooFit::DEBUG)) RooMsgService::instance().log(this,RooFit::DEBUG,RooFit::a,kTRUE)
 
#define ccxcoutE(a)   if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::ERROR)) RooMsgService::instance().log(this,RooFit::ERROR,RooFit::a,kTRUE)
 
#define ccxcoutF(a)   if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::FATAL)) RooMsgService::instance().log(this,RooFit::FATAL,RooFit::a,kTRUE)
 
#define ccxcoutI(a)   if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::INFO)) RooMsgService::instance().log(this,RooFit::INFO,RooFit::a,kTRUE)
 
#define ccxcoutP(a)   if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(this,RooFit::INFO,RooFit::a,kTRUE)
 
#define ccxcoutW(a)   if (RooMsgService::instance().isActive(this,RooFit::a,RooFit::WARNING)) RooMsgService::instance().log(this,RooFit::WARNING,RooFit::a,kTRUE)
 
#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::INFO,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,kTRUE)
 
#define ooccoutE(o, a)   RooMsgService::instance().log(o,RooFit::ERROR,RooFit::a,kTRUE)
 
#define ooccoutF(o, a)   RooMsgService::instance().log(o,RooFit::FATAL,RooFit::a,kTRUE)
 
#define ooccoutI(o, a)   RooMsgService::instance().log(o,RooFit::INFO,RooFit::a,kTRUE)
 
#define ooccoutP(o, a)   RooMsgService::instance().log(o,RooFit::PROGRESS,RooFit::a,kTRUE)
 
#define ooccoutW(o, a)   RooMsgService::instance().log(o,RooFit::WARNING,RooFit::a,kTRUE)
 
#define ooccxcoutD(o, a)   if (ANYDEBUG && RooMsgService::instance().isActive(o,RooFit::a,RooFit::DEBUG)) RooMsgService::instance().log(o,RooFit::DEBUG,RooFit::a,kTRUE)
 
#define ooccxcoutE(o, a)   if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::ERROR)) RooMsgService::instance().log(o,RooFit::ERROR,RooFit::a,kTRUE)
 
#define ooccxcoutF(o, a)   if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::FATAL)) RooMsgService::instance().log(o,RooFit::FATAL,RooFit::a,kTRUE)
 
#define ooccxcoutI(o, a)   if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::INFO)) RooMsgService::instance().log(o,RooFit::INFO,RooFit::a,kTRUE)
 
#define ooccxcoutP(o, a)   if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::PROGRESS)) RooMsgService::instance().log(o,RooFit::INFO,RooFit::a,kTRUE)
 
#define ooccxcoutW(o, a)   if (RooMsgService::instance().isActive(o,RooFit::a,RooFit::WARNING)) RooMsgService::instance().log(o,RooFit::WARNING,RooFit::a,kTRUE)
 
#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(to,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::INFO,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))
 

Variables

RooMsgServicegMsgService
 

Macro Definition Documentation

◆ ANYDEBUG

#define ANYDEBUG   (RooMsgService::_debugCount>0)

Definition at line 59 of file RooMsgService.h.

◆ ccoutD

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

Definition at line 38 of file RooMsgService.h.

◆ ccoutE

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

Definition at line 42 of file RooMsgService.h.

◆ ccoutF

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

Definition at line 43 of file RooMsgService.h.

◆ ccoutI

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

Definition at line 39 of file RooMsgService.h.

◆ ccoutP

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

Definition at line 40 of file RooMsgService.h.

◆ ccoutW

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

Definition at line 41 of file RooMsgService.h.

◆ ccxcoutD

Definition at line 81 of file RooMsgService.h.

◆ ccxcoutE

Definition at line 97 of file RooMsgService.h.

◆ ccxcoutF

Definition at line 101 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,kTRUE)

Definition at line 85 of file RooMsgService.h.

◆ ccxcoutP

Definition at line 89 of file RooMsgService.h.

◆ ccxcoutW

Definition at line 93 of file RooMsgService.h.

◆ coutE

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

Definition at line 35 of file RooMsgService.h.

◆ coutF

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

Definition at line 36 of file RooMsgService.h.

◆ coutI

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

Definition at line 32 of file RooMsgService.h.

◆ coutP

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

Definition at line 33 of file RooMsgService.h.

◆ coutW

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

Definition at line 34 of file RooMsgService.h.

◆ cxcoutD

Definition at line 80 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 96 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 100 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 84 of file RooMsgService.h.

◆ cxcoutP

Definition at line 88 of file RooMsgService.h.

◆ cxcoutW

Definition at line 92 of file RooMsgService.h.

◆ dologD

#define dologD (   a)    (ANYDEBUG && RooMsgService::instance().isActive(this,RooFit::a,RooFit::DEBUG))

Definition at line 64 of file RooMsgService.h.

◆ dologE

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

Definition at line 68 of file RooMsgService.h.

◆ dologF

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

Definition at line 69 of file RooMsgService.h.

◆ dologI

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

Definition at line 65 of file RooMsgService.h.

◆ dologP

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

Definition at line 66 of file RooMsgService.h.

◆ dologW

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

Definition at line 67 of file RooMsgService.h.

◆ ooccoutD

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

Definition at line 51 of file RooMsgService.h.

◆ ooccoutE

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

Definition at line 55 of file RooMsgService.h.

◆ ooccoutF

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

Definition at line 56 of file RooMsgService.h.

◆ ooccoutI

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

Definition at line 52 of file RooMsgService.h.

◆ ooccoutP

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

Definition at line 53 of file RooMsgService.h.

◆ ooccoutW

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

Definition at line 54 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,kTRUE)

Definition at line 83 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,kTRUE)

Definition at line 99 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,kTRUE)

Definition at line 103 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,kTRUE)

Definition at line 87 of file RooMsgService.h.

◆ ooccxcoutP

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

Definition at line 91 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,kTRUE)

Definition at line 95 of file RooMsgService.h.

◆ oocoutE

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

Definition at line 48 of file RooMsgService.h.

◆ oocoutF

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

Definition at line 49 of file RooMsgService.h.

◆ oocoutI

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

Definition at line 45 of file RooMsgService.h.

◆ oocoutP

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

Definition at line 46 of file RooMsgService.h.

◆ oocoutW

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

Definition at line 47 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 82 of file RooMsgService.h.

◆ oocxcoutE

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

Definition at line 98 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 102 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 86 of file RooMsgService.h.

◆ oocxcoutP

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

Definition at line 90 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 94 of file RooMsgService.h.

◆ oodologD

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

Definition at line 71 of file RooMsgService.h.

◆ oodologE

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

Definition at line 75 of file RooMsgService.h.

◆ oodologF

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

Definition at line 76 of file RooMsgService.h.

◆ oodologI

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

Definition at line 72 of file RooMsgService.h.

◆ oodologP

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

Definition at line 73 of file RooMsgService.h.

◆ oodologW

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

Definition at line 74 of file RooMsgService.h.

Variable Documentation

◆ gMsgService

RooMsgService* gMsgService

Definition at line 66 of file RooMsgService.cxx.