Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
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
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
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
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
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
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
z
Enumerations
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
Enumerator
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Simulation
ISF
ISF_Core
ISF_Event
ISF_Event
ISFBenchmarkHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ISFBenchmarkHelper.h, (c) ATLAS Detector software
8
9
#ifndef ISF_EVENT_ISFBENCHMARKHELPER_H
10
#define ISF_EVENT_ISFBENCHMARKHELPER_H 1
11
12
// ISF Includes
13
#include "
ISFParticle.h
"
14
15
// abs() definition
16
#include <cstdlib>
17
18
namespace
ISF
{
19
28
enum
PDGCodeEnum
{
29
// usually used for codes exceeding the maximum value:
30
fUndefinedPDGCode
= 0,
31
// defining the maximum value of pdg codes used in profiling
32
fMaxBenchmarkPDGCode
= 5000
33
};
34
35
42
class
ISFBenchmarkHelper
{
43
44
public
:
46
ISFBenchmarkHelper
() { }
48
~ISFBenchmarkHelper
() { }
49
53
inline
static
unsigned
int
getBenchReadyPdgCode
(
const
ISFParticle
&
p
) {
54
unsigned
int
pdgCode = abs(
p
.pdgCode() );
55
return
( (pdgCode<=
int
(
ISF::fMaxBenchmarkPDGCode
) ) ? pdgCode :
int
(
ISF::fUndefinedPDGCode
) );
56
}
57
private
:
58
59
};
60
61
}
// end of namespace
62
63
#endif // ISF_EVENT_ISFBENCHMARKHELPER_H
ISF::fUndefinedPDGCode
@ fUndefinedPDGCode
Definition:
ISFBenchmarkHelper.h:30
ISF::fMaxBenchmarkPDGCode
@ fMaxBenchmarkPDGCode
Definition:
ISFBenchmarkHelper.h:32
ISF::ISFParticle
Definition:
ISFParticle.h:42
ISF::ISFBenchmarkHelper
Definition:
ISFBenchmarkHelper.h:42
ISFParticle.h
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
ISF::PDGCodeEnum
PDGCodeEnum
Definition:
ISFBenchmarkHelper.h:28
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
ISF::ISFBenchmarkHelper::~ISFBenchmarkHelper
~ISFBenchmarkHelper()
empty destructor
Definition:
ISFBenchmarkHelper.h:48
ISF::ISFBenchmarkHelper::getBenchReadyPdgCode
static unsigned int getBenchReadyPdgCode(const ISFParticle &p)
get PMonUtils::CustomBenchmarkGuard ready PDGCode of the given ISFParticle -> returns abs(pdgCode) if...
Definition:
ISFBenchmarkHelper.h:53
ISF::ISFBenchmarkHelper::ISFBenchmarkHelper
ISFBenchmarkHelper()
empty constructor
Definition:
ISFBenchmarkHelper.h:46
Generated on Sun May 11 2025 21:11:23 for ATLAS Offline Software by
1.8.18