AliPhysics  b81c3d2 (b81c3d2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackletAODUtils::DebugGuard Struct Reference

Public Member Functions

 DebugGuard (Int_t lvl, Int_t msgLvl, const char *format,...)
 
 ~DebugGuard ()
 

Static Public Member Functions

static void Message (Int_t lvl, Int_t msgLvl, const char *format,...)
 

Static Private Member Functions

static void Output (int in, TString &msg)
 
static void Format (TString &out, const char *format, va_list ap)
 

Private Attributes

TString fMsg
 

Detailed Description

A guard idom for producing debug output

Definition at line 845 of file AliTrackletAODUtils.C.

Constructor & Destructor Documentation

AliTrackletAODUtils::DebugGuard::DebugGuard ( Int_t  lvl,
Int_t  msgLvl,
const char *  format,
  ... 
)

Constructor

Parameters
lvlCurrent level
msgLvlTarget level
formatprintf -like format
Returns

Definition at line 2288 of file AliTrackletAODUtils.C.

AliTrackletAODUtils::DebugGuard::~DebugGuard ( )

Destructor

Definition at line 2300 of file AliTrackletAODUtils.C.

Member Function Documentation

void AliTrackletAODUtils::DebugGuard::Format ( TString out,
const char *  format,
va_list  ap 
)
staticprivate

Format a message

Parameters
outOutput is stored here
formatprintf -like format
apList of arguments

Definition at line 2321 of file AliTrackletAODUtils.C.

Referenced by DebugGuard().

void AliTrackletAODUtils::DebugGuard::Message ( Int_t  lvl,
Int_t  msgLvl,
const char *  format,
  ... 
)
static

Make a message

Parameters
lvlCurrent level
msgLvlTarget level
formatprintf -like format

Definition at line 2307 of file AliTrackletAODUtils.C.

void AliTrackletAODUtils::DebugGuard::Output ( int  in,
TString msg 
)
staticprivate

Output the message

Parameters
inDirection
msgMessage

Definition at line 2333 of file AliTrackletAODUtils.C.

Referenced by DebugGuard().

Member Data Documentation

TString AliTrackletAODUtils::DebugGuard::fMsg
private

Definition at line 885 of file AliTrackletAODUtils.C.

Referenced by DebugGuard().


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