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
Trigger
TrigT1
TrigT1CaloEvent
src
JEMEtSums.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
JEMEtSums.cpp - description
6
-------------------
7
begin : 25 05 2006
8
email : Alan.Watson@cern.ch
9
***************************************************************************/
10
11
12
13
14
#ifndef TRIGGERSPACE
15
#include "
TrigT1CaloEvent/JEMEtSums.h
"
16
#else
17
#include "
JEMEtSums.h
"
18
#endif
19
20
namespace
LVL1
{
21
22
24
LVL1::JEMEtSums::JEMEtSums::JEMEtSums
(
int
crate,
int
module
):
25
m_crate(crate),
26
m_module(
module
)
27
{
28
}
29
31
LVL1::JEMEtSums::JEMEtSums::JEMEtSums
(
int
crate,
int
module
,
32
const
std::vector<unsigned int>& Et,
33
const
std::vector<unsigned int>& Ex,
34
const
std::vector<unsigned int>& Ey,
35
int
peak):
36
m_crate(crate),
37
m_module(
module
),
38
m_peak(peak),
39
m_Et(Et),
40
m_Ex(Ex),
41
m_Ey(Ey)
42
{
43
}
44
45
47
int
LVL1::JEMEtSums::crate
()
const
{
48
return
m_crate;
49
}
50
52
int
LVL1::JEMEtSums::module
()
const
{
53
return
m_module;
54
}
55
57
unsigned
int
LVL1::JEMEtSums::Et
()
const
{
58
return
m_Et[m_peak];
59
}
60
62
unsigned
int
LVL1::JEMEtSums::Ex
()
const
{
63
return
m_Ex[m_peak];
64
}
65
67
unsigned
int
LVL1::JEMEtSums::Ey
()
const
{
68
return
m_Ey[m_peak];
69
}
70
72
const
std::vector<unsigned int>&
LVL1::JEMEtSums::EtVec
()
const
{
73
return
m_Et;
74
}
75
77
const
std::vector<unsigned int>&
LVL1::JEMEtSums::ExVec
()
const
{
78
return
m_Ex;
79
}
80
82
const
std::vector<unsigned int>&
LVL1::JEMEtSums::EyVec
()
const
{
83
return
m_Ey;
84
}
85
87
bool
LVL1::JEMEtSums::forward
()
const
{
88
return
( ((m_module%8) == 0) || ((m_module%8) == 7) );
89
}
90
92
void
LVL1::JEMEtSums::addEt
(
const
std::vector<unsigned int>& Et) {
93
m_Et = Et;
94
}
95
97
void
LVL1::JEMEtSums::addEx
(
const
std::vector<unsigned int>& Ex) {
98
m_Ex = Ex;
99
}
100
102
void
LVL1::JEMEtSums::addEy
(
const
std::vector<unsigned int>& Ey) {
103
m_Ey = Ey;
104
}
105
107
void
LVL1::JEMEtSums::setPeak
(
int
peak) {
108
m_peak = peak;
109
}
110
112
int
LVL1::JEMEtSums::peak
()
const
{
113
return
m_peak;
114
}
115
116
}
// end of namespace bracket
JEMEtSums.h
xAOD::JEMEtSums
JEMEtSums_v2 JEMEtSums
Define the latest version of the JEMEtSums class.
Definition:
Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMEtSums.h:16
LVL1::JEMEtSums::EyVec
const std::vector< unsigned int > & EyVec() const
returns module Ey sum
Definition:
JEMEtSums.cxx:87
LVL1::JEMEtSums::module
int module() const
returns module number
Definition:
JEMEtSums.cxx:57
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::JEMEtSums::addEy
void addEy(const std::vector< unsigned int > &Ey)
Update Ey sum.
Definition:
JEMEtSums.cxx:107
python.PyAthena.module
module
Definition:
PyAthena.py:131
LVL1::JEMEtSums::forward
bool forward() const
Central or FCAL JEM?
Definition:
JEMEtSums.cxx:92
LVL1::JEMEtSums::crate
int crate() const
returns crate number
Definition:
JEMEtSums.cxx:52
LVL1::JEMEtSums::peak
int peak() const
returns peak slice number
Definition:
JEMEtSums.cxx:117
LVL1::JEMEtSums::ExVec
const std::vector< unsigned int > & ExVec() const
returns module Ex sum
Definition:
JEMEtSums.cxx:82
LVL1::JEMEtSums::Et
unsigned int Et() const
returns module ET sum for peak sample
Definition:
JEMEtSums.cxx:62
LVL1::JEMEtSums::Ey
unsigned int Ey() const
returns module Ey sum for peak sample
Definition:
JEMEtSums.cxx:72
LVL1::JEMEtSums::addEt
void addEt(const std::vector< unsigned int > &Et)
Update ET sum.
Definition:
JEMEtSums.cxx:97
LVL1::JEMEtSums::setPeak
void setPeak(int peak)
Specify peak slice (Same for all vectors)
Definition:
JEMEtSums.cxx:112
LVL1::JEMEtSums::EtVec
const std::vector< unsigned int > & EtVec() const
returns module ET sum
Definition:
JEMEtSums.cxx:77
LVL1::JEMEtSums::addEx
void addEx(const std::vector< unsigned int > &Ex)
Update Ex sum.
Definition:
JEMEtSums.cxx:102
LVL1::JEMEtSums::Ex
unsigned int Ex() const
returns module Ex sum for peak sample
Definition:
JEMEtSums.cxx:67
Generated on Sun Mar 30 2025 21:12:31 for ATLAS Offline Software by
1.8.18