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
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_Tools
src
GenericParticleOrderingTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// class header include
6
#include "
GenericParticleOrderingTool.h
"
7
8
// ISF includes
9
#include "
ISF_Event/ISFParticle.h
"
10
12
ISF::GenericParticleOrderingTool::GenericParticleOrderingTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
) :
13
base_class(
t
,
n
,
p
),
14
m_geoIDorder()
15
{
16
declareProperty(
"OrderID"
,
17
m_geoIDorder
[
AtlasDetDescr::fAtlasID
]=1,
18
"Order for Inner Detector particles"
);
19
declareProperty(
"OrderBeamPipe"
,
20
m_geoIDorder
[
AtlasDetDescr::fAtlasForward
]=1,
21
"Order for Beam Pipe / Forward particles"
);
22
declareProperty(
"OrderCalo"
,
23
m_geoIDorder
[
AtlasDetDescr::fAtlasCalo
]=1,
24
"Order for Calorimeter particles"
);
25
declareProperty(
"OrderMS"
,
26
m_geoIDorder
[
AtlasDetDescr::fAtlasMS
]=1,
27
"Order for Muon Spectrometer particles"
);
28
declareProperty(
"OrderCavern"
,
29
m_geoIDorder
[
AtlasDetDescr::fAtlasCavern
]=1,
30
"Order for Cavern particles"
);
31
}
32
33
35
ISF::ParticleOrder
ISF::GenericParticleOrderingTool::computeOrder
(
const
ISFParticle
&
p
)
const
{
36
// return order set for the current particle geoID
37
AtlasDetDescr::AtlasRegion
geoID =
p
.nextGeoID();
38
ISF::SimSvcID
simID =
p
.nextSimID();
39
40
// NB: fUndefinedSimID(==0) will get order 0
41
return
m_geoIDorder[geoID]*simID;
42
}
AtlasDetDescr::fAtlasForward
@ fAtlasForward
Definition:
AtlasRegion.h:28
AtlasDetDescr::AtlasRegion
AtlasRegion
Definition:
AtlasRegion.h:21
ISF::ISFParticle
Definition:
ISFParticle.h:42
ISF::GenericParticleOrderingTool::m_geoIDorder
ParticleOrder m_geoIDorder[AtlasDetDescr::fNumAtlasRegions]
particle order per sub detector
Definition:
GenericParticleOrderingTool.h:39
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
ISF::GenericParticleOrderingTool::computeOrder
virtual ISF::ParticleOrder computeOrder(const ISFParticle &p) const
Returns a pass boolean on the particle
Definition:
GenericParticleOrderingTool.cxx:35
ISF::ParticleOrder
int ParticleOrder
particle order definition
Definition:
ParticleOrder.h:15
ISFParticle.h
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
AtlasDetDescr::fAtlasMS
@ fAtlasMS
Definition:
AtlasRegion.h:30
beamspotman.n
n
Definition:
beamspotman.py:731
ISF::GenericParticleOrderingTool::GenericParticleOrderingTool
GenericParticleOrderingTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition:
GenericParticleOrderingTool.cxx:12
AtlasDetDescr::fAtlasCavern
@ fAtlasCavern
Definition:
AtlasRegion.h:31
AtlasDetDescr::fAtlasID
@ fAtlasID
Definition:
AtlasRegion.h:27
AtlasDetDescr::fAtlasCalo
@ fAtlasCalo
Definition:
AtlasRegion.h:29
ISF::SimSvcID
uint8_t SimSvcID
Simulation service ID datatype.
Definition:
SimSvcID.h:28
GenericParticleOrderingTool.h
Generated on Sat Mar 29 2025 21:10:56 for ATLAS Offline Software by
1.8.18