ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloEvent
src
CMMEtSums.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
CMMEtSums.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/CMMEtSums.h
"
16
#else
17
#include "
CMMEtSums.h
"
18
#endif
19
20
namespace
LVL1
{
21
22
23
25
CMMEtSums::CMMEtSums
(
int
crate
,
int
dataID
):
26
m_crate
(
crate
),
27
m_dataID
(
dataID
)
28
{
29
}
30
32
CMMEtSums::CMMEtSums
(
int
crate
,
int
dataID
,
33
const
std::vector<unsigned int>&
Et
,
34
const
std::vector<unsigned int>&
Ex
,
35
const
std::vector<unsigned int>&
Ey
,
36
const
std::vector<int>&
EtError
,
37
const
std::vector<int>&
ExError
,
38
const
std::vector<int>&
EyError
,
39
int
peak
):
40
m_crate
(
crate
),
41
m_dataID
(
dataID
),
42
m_peak
(
peak
),
43
m_Et
(
Et
),
44
m_Ex
(
Ex
),
45
m_Ey
(
Ey
),
46
m_EtError
(
EtError
),
47
m_ExError
(
ExError
),
48
m_EyError
(
EyError
)
49
{
50
}
51
52
54
int
CMMEtSums::crate
()
const
{
55
return
m_crate
;
56
}
57
59
int
CMMEtSums::dataID
()
const
{
60
return
m_dataID
;
61
}
62
64
unsigned
int
CMMEtSums::Et
()
const
{
65
return
m_Et
[
m_peak
];
66
}
67
69
unsigned
int
CMMEtSums::Ex
()
const
{
70
return
m_Ex
[
m_peak
];
71
}
72
74
unsigned
int
CMMEtSums::Ey
()
const
{
75
return
m_Ey
[
m_peak
];
76
}
77
79
int
CMMEtSums::EtError
()
const
{
80
return
m_EtError
[
m_peak
];
81
}
82
84
int
CMMEtSums::ExError
()
const
{
85
return
m_ExError
[
m_peak
];
86
}
87
89
int
CMMEtSums::EyError
()
const
{
90
return
m_EyError
[
m_peak
];
91
}
92
94
const
std::vector<unsigned int>&
CMMEtSums::EtVec
()
const
{
95
return
m_Et
;
96
}
97
99
const
std::vector<unsigned int>&
CMMEtSums::ExVec
()
const
{
100
return
m_Ex
;
101
}
102
104
const
std::vector<unsigned int>&
CMMEtSums::EyVec
()
const
{
105
return
m_Ey
;
106
}
107
109
const
std::vector<int>&
CMMEtSums::EtErrorVec
()
const
{
110
return
m_EtError
;
111
}
112
114
const
std::vector<int>&
CMMEtSums::ExErrorVec
()
const
{
115
return
m_ExError
;
116
}
117
119
const
std::vector<int>&
CMMEtSums::EyErrorVec
()
const
{
120
return
m_EyError
;
121
}
122
124
void
CMMEtSums::addEt
(
const
std::vector<unsigned int>&
Et
,
125
const
std::vector<int>&
EtError
) {
126
m_Et
=
Et
;
127
m_EtError
=
EtError
;
128
}
129
131
void
CMMEtSums::addEx
(
const
std::vector<unsigned int>&
Ex
,
132
const
std::vector<int>&
ExError
) {
133
m_Ex
=
Ex
;
134
m_ExError
=
ExError
;
135
}
136
138
void
CMMEtSums::addEy
(
const
std::vector<unsigned int>&
Ey
,
139
const
std::vector<int>&
EyError
) {
140
m_Ey
=
Ey
;
141
m_EyError
=
EyError
;
142
}
143
145
void
CMMEtSums::setPeak
(
int
peak
) {
146
m_peak
=
peak
;
147
}
148
150
int
CMMEtSums::peak
()
const
{
151
return
m_peak
;
152
}
153
154
}
// end of namespace bracket
CMMEtSums.h
LVL1::CMMEtSums::Ex
unsigned int Ex() const
returns module Ex sum for peak sample
Definition
CMMEtSums.cxx:69
LVL1::CMMEtSums::peak
int peak() const
returns peak slice number
Definition
CMMEtSums.cxx:150
LVL1::CMMEtSums::EtErrorVec
const std::vector< int > & EtErrorVec() const
returns module ET errors
Definition
CMMEtSums.cxx:109
LVL1::CMMEtSums::m_EyError
std::vector< int > m_EyError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:90
LVL1::CMMEtSums::addEx
void addEx(const std::vector< unsigned int > &Ex, const std::vector< int > &ExError)
Update Ex sum.
Definition
CMMEtSums.cxx:131
LVL1::CMMEtSums::ExErrorVec
const std::vector< int > & ExErrorVec() const
returns module Ex errors
Definition
CMMEtSums.cxx:114
LVL1::CMMEtSums::dataID
int dataID() const
returns data ID
Definition
CMMEtSums.cxx:59
LVL1::CMMEtSums::EyError
int EyError() const
returns module Ey sum error for peak sample
Definition
CMMEtSums.cxx:89
LVL1::CMMEtSums::m_peak
int m_peak
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:84
LVL1::CMMEtSums::addEt
void addEt(const std::vector< unsigned int > &Et, const std::vector< int > &EtError)
Add data to existing objects.
Definition
CMMEtSums.cxx:124
LVL1::CMMEtSums::crate
int crate() const
Data accessors.
Definition
CMMEtSums.cxx:54
LVL1::CMMEtSums::m_Ey
std::vector< unsigned int > m_Ey
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:87
LVL1::CMMEtSums::Et
unsigned int Et() const
For triggered time slice.
Definition
CMMEtSums.cxx:64
LVL1::CMMEtSums::m_Ex
std::vector< unsigned int > m_Ex
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:86
LVL1::CMMEtSums::EtVec
const std::vector< unsigned int > & EtVec() const
Access multi-slice data.
Definition
CMMEtSums.cxx:94
LVL1::CMMEtSums::addEy
void addEy(const std::vector< unsigned int > &Ey, const std::vector< int > &EyError)
Update Ey sum.
Definition
CMMEtSums.cxx:138
LVL1::CMMEtSums::ExVec
const std::vector< unsigned int > & ExVec() const
returns module Ex sum
Definition
CMMEtSums.cxx:99
LVL1::CMMEtSums::m_dataID
int m_dataID
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:83
LVL1::CMMEtSums::Ey
unsigned int Ey() const
returns module Ey sum for peak sample
Definition
CMMEtSums.cxx:74
LVL1::CMMEtSums::m_crate
int m_crate
Internal data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:82
LVL1::CMMEtSums::EyErrorVec
const std::vector< int > & EyErrorVec() const
returns module Ey errors
Definition
CMMEtSums.cxx:119
LVL1::CMMEtSums::setPeak
void setPeak(int peak)
In multi-slice readout must specify which slide is triggered BC.
Definition
CMMEtSums.cxx:145
LVL1::CMMEtSums::EyVec
const std::vector< unsigned int > & EyVec() const
returns module Ey sum
Definition
CMMEtSums.cxx:104
LVL1::CMMEtSums::m_Et
std::vector< unsigned int > m_Et
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:85
LVL1::CMMEtSums::ExError
int ExError() const
returns module Ex sum error for peak sample
Definition
CMMEtSums.cxx:84
LVL1::CMMEtSums::CMMEtSums
CMMEtSums()=default
Constructors.
LVL1::CMMEtSums::EtError
int EtError() const
returns module ET sum error for peak sample
Definition
CMMEtSums.cxx:79
LVL1::CMMEtSums::m_ExError
std::vector< int > m_ExError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:89
LVL1::CMMEtSums::m_EtError
std::vector< int > m_EtError
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:88
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0