ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
LVL1::JEMEtSums::module
int module() const
returns module number
Definition
JEMEtSums.cxx:52
LVL1::JEMEtSums::EyVec
const std::vector< unsigned int > & EyVec() const
returns module Ey sum
Definition
JEMEtSums.cxx:82
LVL1::JEMEtSums::m_Ex
std::vector< unsigned int > m_Ex
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:60
LVL1::JEMEtSums::setPeak
void setPeak(int peak)
Specify peak slice (Same for all vectors).
Definition
JEMEtSums.cxx:107
LVL1::JEMEtSums::addEx
void addEx(const std::vector< unsigned int > &Ex)
Update Ex sum.
Definition
JEMEtSums.cxx:97
LVL1::JEMEtSums::forward
bool forward() const
Central or FCAL JEM?
Definition
JEMEtSums.cxx:87
LVL1::JEMEtSums::ExVec
const std::vector< unsigned int > & ExVec() const
returns module Ex sum
Definition
JEMEtSums.cxx:77
LVL1::JEMEtSums::addEt
void addEt(const std::vector< unsigned int > &Et)
Update ET sum.
Definition
JEMEtSums.cxx:92
LVL1::JEMEtSums::EtVec
const std::vector< unsigned int > & EtVec() const
returns module ET sum
Definition
JEMEtSums.cxx:72
LVL1::JEMEtSums::m_peak
int m_peak
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:58
LVL1::JEMEtSums::Et
unsigned int Et() const
returns module ET sum for peak sample
Definition
JEMEtSums.cxx:57
LVL1::JEMEtSums::Ex
unsigned int Ex() const
returns module Ex sum for peak sample
Definition
JEMEtSums.cxx:62
LVL1::JEMEtSums::m_crate
int m_crate
Internal data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:56
LVL1::JEMEtSums::m_Et
std::vector< unsigned int > m_Et
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:59
LVL1::JEMEtSums::crate
int crate() const
returns crate number
Definition
JEMEtSums.cxx:47
LVL1::JEMEtSums::m_Ey
std::vector< unsigned int > m_Ey
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:61
LVL1::JEMEtSums::Ey
unsigned int Ey() const
returns module Ey sum for peak sample
Definition
JEMEtSums.cxx:67
LVL1::JEMEtSums::peak
int peak() const
returns peak slice number
Definition
JEMEtSums.cxx:112
LVL1::JEMEtSums::m_module
int m_module
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:57
LVL1::JEMEtSums::addEy
void addEy(const std::vector< unsigned int > &Ey)
Update Ey sum.
Definition
JEMEtSums.cxx:102
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
python.PyAthena.module
module
Definition
PyAthena.py:130
Generated on
for ATLAS Offline Software by
1.17.0