Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Debug.h
1
//-----------------------------------------------------------------------------
2
// $Id$
3
//-----------------------------------------------------------------------------
4
// Filename : Debug.h
5
// Section : TRG
6
// Owner : Yoshihito Iwasaki
7
// Email : yoshihito.iwasaki@kek.jp
8
//-----------------------------------------------------------------------------
9
// Description : Debug utility functions
10
//-----------------------------------------------------------------------------
11
// $Log$
12
//-----------------------------------------------------------------------------
13
14
#ifndef TRGDebug_FLAG_
15
#define TRGDebug_FLAG_
16
17
#include <vector>
18
#include <string>
19
20
namespace
Belle2
{
26
class
TRGDebug {
28
29
public
:
30
32
static
int
level
(
void
);
33
35
static
int
level
(
int
newLevel,
bool
thisStageOnly =
false
);
36
38
static
void
enterStage
(
const
std::string& stageName);
39
41
static
void
leaveStage
(
const
std::string& stageName);
42
44
static
std::string
tab
(
void
);
45
47
static
std::string
tab
(
int
extra);
48
49
private
:
50
52
static
std::vector<std::string>
_stages
;
53
55
static
int
_level
;
56
};
57
58
//-----------------------------------------------------------------------------
59
61
}
// namespace Belle2
62
63
#endif
/* TRGDebug_FLAG_ */
Belle2::TRGDebug::level
static int level(void)
returns the debug level.
Definition:
Debug.cc:72
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TRGDebug::_level
static int _level
Debug level. 0:do nothing, 1:show you flow, 2:show you detail, 10:show you very detail.
Definition:
Debug.h:55
Belle2::TRGDebug::_stages
static std::vector< std::string > _stages
Storage for stages.
Definition:
Debug.h:52
Belle2::TRGDebug::tab
static std::string tab(void)
returns tab spaces.
Definition:
Debug.cc:52
Belle2::TRGDebug::leaveStage
static void leaveStage(const std::string &stageName)
Declare that you leave a stage.
Definition:
Debug.cc:39
Belle2::TRGDebug::enterStage
static void enterStage(const std::string &stageName)
Declare that you enter new stage.
Definition:
Debug.cc:29
trg
trg
include
Debug.h
Generated on Tue Jan 4 2022 03:11:08 for Belle II Software by
1.8.17