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
PhysicsAnalysis
HeavyIonPhys
HIEventUtils
HIEventUtils
ZdcUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HIEVENTUTILS_ZDCUTILS_H
6
#define HIEVENTUTILS_ZDCUTILS_H
7
8
#include <functional>
9
#include <vector>
10
#include <set>
11
12
#include "
xAODForward/ZdcModule.h
"
13
#include "
xAODForward/ZdcModuleContainer.h
"
14
15
namespace
ZDC
16
{
17
18
struct
BySideTypeMod
19
{
20
int
m_side
;
21
int
m_type
;
22
int
m_mod
;
23
BySideTypeMod
(
int
side
,
int
type
=0,
int
mod
=-1) :
m_side
(
side
),
m_type
(
type
),
m_mod
(
mod
) {}
24
bool
operator()
(
const
xAOD::ZdcModule
* in_side)
25
{
26
return
(
27
(in_side->side()==
m_side
||
m_side
==0) &&
28
in_side->type()==
m_type
&&
29
(in_side->
zdcModule
()==
m_mod
||
m_mod
==-1));
30
}
31
};
32
33
BySideTypeMod
sideA
(1);
34
BySideTypeMod
sideC
(-1);
35
BySideTypeMod
sideAC
(0);
36
37
BySideTypeMod
sideA_HadPix
(1,1,1);
38
BySideTypeMod
sideC_HadPix
(-1,1,1);
39
40
float
getAmplitudeSum
(
const
xAOD::ZdcModuleContainer
* in, std::function<
bool
(
const
xAOD::ZdcModule
*)> incFunction, std::string
suffix
=
""
);
41
float
getAmplitudeSumG0
(
const
xAOD::ZdcModuleContainer
* in, std::function<
bool
(
const
xAOD::ZdcModule
*)> incFunction, std::string
suffix
=
""
);
42
float
getAmplitudeSumG1
(
const
xAOD::ZdcModuleContainer
* in, std::function<
bool
(
const
xAOD::ZdcModule
*)> incFunction);
43
}
44
#endif //ZDCUTILS
hotSpotInTAG.suffix
string suffix
Definition:
hotSpotInTAG.py:186
ZDC::BySideTypeMod::operator()
bool operator()(const xAOD::ZdcModule *in_side)
Definition:
ZdcUtils.h:24
ZDC::sideAC
BySideTypeMod sideAC(0)
ZDC::sideC
BySideTypeMod sideC(-1)
ZDC::BySideTypeMod::m_side
int m_side
Definition:
ZdcUtils.h:20
xAOD::ZdcModule_v1
Class containing ZDC Module information.
Definition:
ZdcModule_v1.h:25
xAOD::ZdcModule_v1::zdcModule
int zdcModule() const
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
TRT::Hit::side
@ side
Definition:
HitInfo.h:83
ZDC::sideA_HadPix
BySideTypeMod sideA_HadPix(1, 1, 1)
ZDC::getAmplitudeSumG1
float getAmplitudeSumG1(const xAOD::ZdcModuleContainer *in, std::function< bool(const xAOD::ZdcModule *)> incFunction)
maskDeadModules.mod
mod
Definition:
maskDeadModules.py:36
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
ZDC::BySideTypeMod::m_type
int m_type
Definition:
ZdcUtils.h:21
ZDC::BySideTypeMod::m_mod
int m_mod
Definition:
ZdcUtils.h:22
ZDC::BySideTypeMod::BySideTypeMod
BySideTypeMod(int side, int type=0, int mod=-1)
Definition:
ZdcUtils.h:23
ZDC::sideA
BySideTypeMod sideA(1)
ZdcModule.h
ZDC::getAmplitudeSum
float getAmplitudeSum(const xAOD::ZdcModuleContainer *in, std::function< bool(const xAOD::ZdcModule *)> incFunction, std::string suffix="")
ZDC::getAmplitudeSumG0
float getAmplitudeSumG0(const xAOD::ZdcModuleContainer *in, std::function< bool(const xAOD::ZdcModule *)> incFunction, std::string suffix="")
ZDC
Definition:
RPDAnalysisTool.cxx:12
ZDC::BySideTypeMod
Definition:
ZdcUtils.h:19
ZdcModuleContainer.h
ZDC::sideC_HadPix
BySideTypeMod sideC_HadPix(-1, 1, 1)
Generated on Thu Apr 17 2025 21:22:58 for ATLAS Offline Software by
1.8.18