Belle II Software development
TRGDebug Class Reference

A class for debugging of TSIM. More...

#include <Debug.h>

Static Public Member Functions

static int level (void)
 returns the debug level.
 
static int level (int newLevel, bool thisStageOnly=false)
 sets and returns the debug level.
 
static void enterStage (const std::string &stageName)
 Declare that you enter new stage.
 
static void leaveStage (const std::string &stageName)
 Declare that you leave a stage.
 
static std::string tab (void)
 returns tab spaces.
 
static std::string tab (int extra)
 returns tab spaces with extra spaces
 

Static Private Attributes

static std::vector< std::string > _stages
 Storage for stages.
 
static int _level = 0
 Debug level. 0:do nothing, 1:show you flow, 2:show you detail, 10:show you very detail.
 

Detailed Description

A class for debugging of TSIM.

Definition at line 22 of file Debug.h.


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