ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloEvent
TrigT1CaloEvent
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//***************************************************************************
6
// JEMEtSums.h - description
7
// -------------------
8
// begin : 25 05 2006
9
// email : Alan.Watson@cern.ch
10
// ***************************************************************************/
11
12
13
#ifndef JEMEtSums_H
14
#define JEMEtSums_H
15
16
#include "
AthenaKernel/CLASS_DEF.h
"
17
18
19
#ifndef TRIGGERSPACE
20
#include "
TrigT1Interfaces/Coordinate.h
"
21
#else
22
#include "
Coordinate.h
"
23
#endif
24
namespace
LVL1
{
25
26
class
JEMEtSums
{
27
public
:
28
29
JEMEtSums
() =
default
;
30
JEMEtSums
(
int
crate
,
int
module
);
31
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
37
38
void
setPeak
(
int
peak
);
39
void
addEt
(
const
std::vector<unsigned int>&
Et
);
40
void
addEx
(
const
std::vector<unsigned int>&
Ex
);
41
void
addEy
(
const
std::vector<unsigned int>&
Ey
);
42
43
int
crate
()
const
;
44
int
module
()
const
;
45
unsigned
int
Et
()
const
;
46
unsigned
int
Ex
()
const
;
47
unsigned
int
Ey
()
const
;
48
const
std::vector<unsigned int>&
EtVec
()
const
;
49
const
std::vector<unsigned int>&
ExVec
()
const
;
50
const
std::vector<unsigned int>&
EyVec
()
const
;
51
int
peak
()
const
;
52
bool
forward
()
const
;
53
55
private
:
56
int
m_crate
{};
57
int
m_module
{};
58
int
m_peak
{};
59
std::vector <unsigned int>
m_Et
{0};
60
std::vector <unsigned int>
m_Ex
{0};
61
std::vector <unsigned int>
m_Ey
{0};
62
63
};
64
}
// end of namespace
65
66
#ifndef JEMEtSums_ClassDEF_H
67
#include "
TrigT1CaloEvent/JEMEtSums_ClassDEF.h
"
68
#endif
69
70
#endif
CLASS_DEF.h
macros to associate a CLID to a type
JEMEtSums_ClassDEF.h
Coordinate.h
Coordinate.h
Coordinate policies.
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::JEMEtSums
JEMEtSums(int crate, int module, const std::vector< unsigned int > &Et, const std::vector< unsigned int > &Ex, const std::vector< unsigned int > &Ey, int peak)
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::JEMEtSums
JEMEtSums()=default
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::JEMEtSums
JEMEtSums(int crate, int module)
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
Generated on
for ATLAS Offline Software by
1.17.0