thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
Variables
Typedefs
a
b
c
d
e
f
h
i
l
m
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
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
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Enumerations
Enumerator
a
b
c
d
e
f
i
m
n
p
r
s
t
u
v
w
Related Functions
a
b
c
d
e
h
i
l
m
o
p
r
s
x
Files
File List
File Members
All
Macros
Utilities
Level.h
1
// -*- C++ -*-
2
//
3
// Level.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_Level_H
10
#define ThePEG_Level_H
11
// This is the declaration of the Level class.
12
13
#include "
ThePEG/Config/ThePEG.h
"
14
15
namespace
ThePEG
{
16
26
template
<
typename
T =
int
>
27
class
Level
{
28
29
public
:
30
33
Level
(T & newLevel) :
theLevel
(++newLevel) {}
34
36
~Level
() { --
theLevel
; }
37
38
private
:
39
42
T &
theLevel
;
43
47
Level
();
48
52
Level
(
const
Level
&);
53
57
Level
&
operator=
(
const
Level
&) =
delete
;
58
59
};
60
61
}
62
63
#endif
/* ThePEG_Level_H */
ThePEG.h
This is the main config header file for ThePEG.
ThePEG::Level
Level is used to increment temporarily a given integer variable.
Definition:
Level.h:27
ThePEG::Level::~Level
~Level()
Destructor decrementing the associated integer variable.
Definition:
Level.h:36
ThePEG::Level::theLevel
T & theLevel
A reference to the integer variable to be decremmmented when this object is destroyed.
Definition:
Level.h:42
ThePEG::Level::Level
Level(const Level &)
Copy constructor is private and not implemented.
ThePEG::Level::Level
Level(T &newLevel)
Constructor taking an integer variable which is incremented.
Definition:
Level.h:33
ThePEG::Level::Level
Level()
Default constructor is private and not implemented.
ThePEG::Level::operator=
Level & operator=(const Level &)=delete
Assignment is private and not implemented.
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
Generated on Thu Jun 20 2024 14:47:02 for ThePEG by
1.9.6