ATLAS Offline Software
Trigger
TrigT1
L1CaloFEX
L1CaloFEXSim
L1CaloFEXSim
jFEXForwardElecInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
//***************************************************************************
5
// jFEXForwardElecInfo - Class to store information about trigger towers
6
// in the fcal and associated jet information.
7
// -------------------
8
// begin : 12 05 2022
9
// email : ulla.blumenschein
10
//***************************************************************************
11
12
#ifndef jFEXForwardElecInfo_H
13
#define jFEXForwardElecInfo_H
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
AthenaKernel/CLASS_DEF.h
"
17
#include "
L1CaloFEXSim/jTowerContainer.h
"
18
#include "
L1CaloFEXSim/FEXAlgoSpaceDefs.h
"
19
#include "
CaloEvent/CaloCellContainer.h
"
20
#include "
CaloIdentifier/CaloIdManager.h
"
21
#include "
CaloIdentifier/CaloCell_SuperCell_ID.h
"
22
#include "
AthenaBaseComps/AthAlgorithm.h
"
23
#include "
L1CaloFEXSim/jFEXForwardElecTOB.h
"
24
#include "
StoreGate/StoreGateSvc.h
"
25
26
namespace
LVL1
{
27
28
class
jFEXForwardElecInfo
{
29
30
public
:
31
32
33
// Setup with key parameters and menu info
34
void
setup
(
int
jfex,
uint
ttid,
int
neta,
int
nphi);
//used
35
void
setup
(
int
*cval,
uint
reso = 200);
36
37
// Basic IDs and energies (TT level)
38
uint
getCoreTTID
();
39
uint
getCoreIphi
();
40
uint
getCoreIeta
();
//used
41
void
setCoreTTEtEM
(
int
ET_EM );
//used
42
int
getCoreTTEtEM
();
//used
43
void
setCoreTTSatEM
(
bool
sat);
44
bool
getCoreTTSatEM
();
45
void
setNextTTID
(
uint
TTID );
//used
46
uint
getNextTTID
();
47
void
setNextTTEtEM
(
int
ET_EM);
//used
48
int
getNextTTEtEM
();
//used
49
void
setNextTTSatEM
(
bool
sat);
50
bool
getNextTTSatEM
();
51
void
setTTEtEMiso
(
int
iso_ET);
//used
52
void
addTTEtEMiso
(
int
iso_ET);
//used
53
int
getTTEtEMiso
();
54
void
setTTEtHad1
(
int
ET_HAD);
//used, EMfr1
55
void
addTTEtHad1
(
int
ET_HAD);
//used, special SC
56
int
getTTEtHad1
();
57
void
setTTEtHad2
(
int
ET_HAD);
//used, EMfr2
58
int
getTTEtHad2
();
59
void
calcTTClusEtEM
();
//used
60
int
getTTClusEtEM
();
//used
61
bool
getTTClusSatEM
();
62
void
includeTTinSearchWindow
(
uint
TT_ID);
63
std::vector<uint>
getTTinSearchWindow
();
64
// floating point values
65
void
setCoreTTfEta
(
float
feta);
//used
66
float
getCoreTTfEta
();
//used
67
void
setCoreTTfPhi
(
float
fphi);
//used
68
float
getCoreTTfPhi
();
//used
69
uint
getCoreTTiEta
();
//used
70
// EDM quantities, corrected for resolution
71
uint
getEtEMiso
();
72
uint
getEtHad1
();
73
uint
getEtHad2
();
74
uint
getEtEM
();
75
uint
getEt
();
76
int
getGlobalEta
();
77
uint
getGlobalPhi
();
78
uint32_t
getTobWord
();
//used
79
81
void
calcFwdElEDM
();
//used
82
84
std::unique_ptr<jFEXForwardElecTOB>
getFwdElTOBs
();
85
86
87
private
:
88
89
int
m_coreTTEtEM
= 0;
90
bool
m_coreTTsatEM
=
false
;
91
uint
m_nextTTID
= 0;
92
int
m_nextTTEtEM
= 0;
93
bool
m_nextTTsatEM
=
false
;
94
int
m_TTEtEMiso
= 0;
95
int
m_TTEtHad1
= 0;
96
int
m_TTEtHad2
= 0;
97
int
m_TTClusEtEM
= 0;
98
bool
m_TTClusSatEM
=
false
;
99
float
m_coreTTfEta
= 0;
100
float
m_coreTTfPhi
= 0;
101
std::vector<uint>
m_TTsInSearchWindow
= {};
102
//---- configured (constructor, setup) -----
103
uint
m_coreTTID
= 0;
104
int
m_ieta
= 0;
105
int
m_iphi
= 0;
106
uint
m_jfex
= 0;
107
uint
m_reso
= 200;
108
int
m_cval
[9] = {1,2,3,20,30,40,20,30,40};
109
//---- modified in calcTobValues -----
110
uint
m_EtEMiso
= 0;
111
uint
m_EtHad1
= 0;
112
uint
m_EtHad2
= 0;
113
uint
m_EtEM
= 0;
114
uint
m_et
= 0;
115
uint
m_emiso
= 0;
116
uint
m_emfr1
= 0;
117
uint
m_emfr2
= 0;
118
uint
m_eta
= 0;
119
uint
m_phi
= 0;
120
uint
m_sat
= 0;
121
uint
m_res
= 0;
122
uint32_t
m_tob
= 0;
123
//----
124
/*
125
uint m_coreL2TTID = 0;
126
uint m_coreL3TTID = 0;
127
uint m_nextL2TTID = 0;
128
uint m_thirdL2TTID = 0;
129
*/
130
131
132
133
};
134
135
136
}
//end of namespace
137
138
CLASS_DEF
(
LVL1::jFEXForwardElecInfo
, 219384518 , 1 )
139
#endif
LVL1::jFEXForwardElecInfo::calcFwdElEDM
void calcFwdElEDM()
Calculate variables for top word.
Definition:
jFEXForwardElecInfo.cxx:198
LVL1::jFEXForwardElecInfo::getEtHad1
uint getEtHad1()
Definition:
jFEXForwardElecInfo.cxx:166
LVL1::jFEXForwardElecInfo::m_et
uint m_et
Definition:
jFEXForwardElecInfo.h:114
LVL1::jFEXForwardElecInfo::m_EtEM
uint m_EtEM
Definition:
jFEXForwardElecInfo.h:113
LVL1::jFEXForwardElecInfo::includeTTinSearchWindow
void includeTTinSearchWindow(uint TT_ID)
Definition:
jFEXForwardElecInfo.cxx:186
LVL1::jFEXForwardElecInfo::getTTClusSatEM
bool getTTClusSatEM()
Definition:
jFEXForwardElecInfo.cxx:134
LVL1::jFEXForwardElecInfo::m_iphi
int m_iphi
Definition:
jFEXForwardElecInfo.h:105
jFEXForwardElecTOB.h
LVL1::jFEXForwardElecInfo::m_emiso
uint m_emiso
Definition:
jFEXForwardElecInfo.h:115
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
LVL1::jFEXForwardElecInfo::getTTEtHad2
int getTTEtHad2()
Definition:
jFEXForwardElecInfo.cxx:154
LVL1::jFEXForwardElecInfo::getCoreIeta
uint getCoreIeta()
Definition:
jFEXForwardElecInfo.cxx:44
LVL1::jFEXForwardElecInfo::setCoreTTEtEM
void setCoreTTEtEM(int ET_EM)
Definition:
jFEXForwardElecInfo.cxx:73
LVL1::jFEXForwardElecInfo::getTTinSearchWindow
std::vector< uint > getTTinSearchWindow()
Definition:
jFEXForwardElecInfo.cxx:190
LVL1::jFEXForwardElecInfo::getCoreTTiEta
uint getCoreTTiEta()
Definition:
jFEXForwardElecInfo.cxx:61
LVL1::jFEXForwardElecInfo::m_EtHad1
uint m_EtHad1
Definition:
jFEXForwardElecInfo.h:111
LVL1::jFEXForwardElecInfo::m_coreTTfEta
float m_coreTTfEta
Definition:
jFEXForwardElecInfo.h:99
LVL1::jFEXForwardElecInfo::addTTEtEMiso
void addTTEtEMiso(int iso_ET)
Definition:
jFEXForwardElecInfo.cxx:117
LVL1::jFEXForwardElecInfo::m_ieta
int m_ieta
Definition:
jFEXForwardElecInfo.h:104
LVL1::jFEXForwardElecInfo::getNextTTSatEM
bool getNextTTSatEM()
Definition:
jFEXForwardElecInfo.cxx:109
LVL1::jFEXForwardElecInfo::setCoreTTSatEM
void setCoreTTSatEM(bool sat)
Definition:
jFEXForwardElecInfo.cxx:81
LVL1::jFEXForwardElecInfo::m_coreTTsatEM
bool m_coreTTsatEM
Definition:
jFEXForwardElecInfo.h:90
LVL1::jFEXForwardElecInfo::setTTEtHad1
void setTTEtHad1(int ET_HAD)
Definition:
jFEXForwardElecInfo.cxx:138
LVL1::jFEXForwardElecInfo::m_EtHad2
uint m_EtHad2
Definition:
jFEXForwardElecInfo.h:112
LVL1::jFEXForwardElecInfo::getTTEtHad1
int getTTEtHad1()
Definition:
jFEXForwardElecInfo.cxx:146
LVL1::jFEXForwardElecInfo::m_cval
int m_cval[9]
Definition:
jFEXForwardElecInfo.h:108
LVL1::jFEXForwardElecInfo::addTTEtHad1
void addTTEtHad1(int ET_HAD)
Definition:
jFEXForwardElecInfo.cxx:142
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::jFEXForwardElecInfo::getFwdElTOBs
std::unique_ptr< jFEXForwardElecTOB > getFwdElTOBs()
Calculate top word.
Definition:
jFEXForwardElecInfo.cxx:288
LVL1::jFEXForwardElecInfo::setTTEtHad2
void setTTEtHad2(int ET_HAD)
Definition:
jFEXForwardElecInfo.cxx:150
LVL1::jFEXForwardElecInfo::setTTEtEMiso
void setTTEtEMiso(int iso_ET)
Definition:
jFEXForwardElecInfo.cxx:113
LVL1::jFEXForwardElecInfo::getTTEtEMiso
int getTTEtEMiso()
Definition:
jFEXForwardElecInfo.cxx:121
LVL1::jFEXForwardElecInfo::setNextTTEtEM
void setNextTTEtEM(int ET_EM)
Definition:
jFEXForwardElecInfo.cxx:97
LVL1::jFEXForwardElecInfo::m_nextTTEtEM
int m_nextTTEtEM
Definition:
jFEXForwardElecInfo.h:92
AthAlgorithm.h
LVL1::jFEXForwardElecInfo::m_phi
uint m_phi
Definition:
jFEXForwardElecInfo.h:119
uint
unsigned int uint
Definition:
LArOFPhaseFill.cxx:20
LVL1::jFEXForwardElecInfo::setup
void setup(int jfex, uint ttid, int neta, int nphi)
Definition:
jFEXForwardElecInfo.cxx:26
LVL1::jFEXForwardElecInfo::getEtEMiso
uint getEtEMiso()
Definition:
jFEXForwardElecInfo.cxx:158
LVL1::jFEXForwardElecInfo::m_emfr2
uint m_emfr2
Definition:
jFEXForwardElecInfo.h:117
LVL1::jFEXForwardElecInfo::m_EtEMiso
uint m_EtEMiso
Definition:
jFEXForwardElecInfo.h:110
LVL1::jFEXForwardElecInfo::calcTTClusEtEM
void calcTTClusEtEM()
Definition:
jFEXForwardElecInfo.cxx:125
LVL1::jFEXForwardElecInfo::m_sat
uint m_sat
Definition:
jFEXForwardElecInfo.h:120
LVL1::jFEXForwardElecInfo::m_res
uint m_res
Definition:
jFEXForwardElecInfo.h:121
LVL1::jFEXForwardElecInfo::m_coreTTID
uint m_coreTTID
Definition:
jFEXForwardElecInfo.h:103
AthAlgTool.h
LVL1::jFEXForwardElecInfo::m_emfr1
uint m_emfr1
Definition:
jFEXForwardElecInfo.h:116
LVL1::jFEXForwardElecInfo::getNextTTEtEM
int getNextTTEtEM()
Definition:
jFEXForwardElecInfo.cxx:101
LVL1::jFEXForwardElecInfo::m_TTClusSatEM
bool m_TTClusSatEM
Definition:
jFEXForwardElecInfo.h:98
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
LVL1::jFEXForwardElecInfo::getTTClusEtEM
int getTTClusEtEM()
Definition:
jFEXForwardElecInfo.cxx:130
LVL1::jFEXForwardElecInfo::getEtHad2
uint getEtHad2()
Definition:
jFEXForwardElecInfo.cxx:162
LVL1::jFEXForwardElecInfo::m_nextTTsatEM
bool m_nextTTsatEM
Definition:
jFEXForwardElecInfo.h:93
LVL1::jFEXForwardElecInfo::m_tob
uint32_t m_tob
Definition:
jFEXForwardElecInfo.h:122
LVL1::jFEXForwardElecInfo::getCoreTTfPhi
float getCoreTTfPhi()
Definition:
jFEXForwardElecInfo.cxx:69
LVL1::jFEXForwardElecInfo::getCoreTTfEta
float getCoreTTfEta()
Definition:
jFEXForwardElecInfo.cxx:57
FEXAlgoSpaceDefs.h
LVL1::jFEXForwardElecInfo::m_TTClusEtEM
int m_TTClusEtEM
Definition:
jFEXForwardElecInfo.h:97
LVL1::jFEXForwardElecInfo::getGlobalEta
int getGlobalEta()
Definition:
jFEXForwardElecInfo.cxx:174
LVL1::jFEXForwardElecInfo::getCoreTTEtEM
int getCoreTTEtEM()
Definition:
jFEXForwardElecInfo.cxx:77
LVL1::jFEXForwardElecInfo::getCoreTTID
uint getCoreTTID()
Definition:
jFEXForwardElecInfo.cxx:40
jTowerContainer.h
LVL1::jFEXForwardElecInfo::getEtEM
uint getEtEM()
LVL1::jFEXForwardElecInfo::setNextTTSatEM
void setNextTTSatEM(bool sat)
Definition:
jFEXForwardElecInfo.cxx:105
LVL1::jFEXForwardElecInfo::getEt
uint getEt()
Definition:
jFEXForwardElecInfo.cxx:170
LVL1::jFEXForwardElecInfo::setNextTTID
void setNextTTID(uint TTID)
Definition:
jFEXForwardElecInfo.cxx:89
LVL1::jFEXForwardElecInfo::getNextTTID
uint getNextTTID()
Definition:
jFEXForwardElecInfo.cxx:93
CaloCellContainer.h
LVL1::jFEXForwardElecInfo::m_eta
uint m_eta
Definition:
jFEXForwardElecInfo.h:118
LVL1::jFEXForwardElecInfo::m_TTEtHad2
int m_TTEtHad2
Definition:
jFEXForwardElecInfo.h:96
LVL1::jFEXForwardElecInfo::setCoreTTfPhi
void setCoreTTfPhi(float fphi)
Definition:
jFEXForwardElecInfo.cxx:65
LVL1::jFEXForwardElecInfo::m_coreTTfPhi
float m_coreTTfPhi
Definition:
jFEXForwardElecInfo.h:100
LVL1::jFEXForwardElecInfo::m_jfex
uint m_jfex
Definition:
jFEXForwardElecInfo.h:106
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LVL1::jFEXForwardElecInfo::m_reso
uint m_reso
Definition:
jFEXForwardElecInfo.h:107
LVL1::jFEXForwardElecInfo::getGlobalPhi
uint getGlobalPhi()
Definition:
jFEXForwardElecInfo.cxx:178
CaloIdManager.h
LVL1::jFEXForwardElecInfo
Definition:
jFEXForwardElecInfo.h:28
LVL1::jFEXForwardElecInfo::m_TTEtEMiso
int m_TTEtEMiso
Definition:
jFEXForwardElecInfo.h:94
LVL1::jFEXForwardElecInfo::setCoreTTfEta
void setCoreTTfEta(float feta)
Definition:
jFEXForwardElecInfo.cxx:52
LVL1::jFEXForwardElecInfo::m_TTsInSearchWindow
std::vector< uint > m_TTsInSearchWindow
Definition:
jFEXForwardElecInfo.h:101
LVL1::jFEXForwardElecInfo::getCoreIphi
uint getCoreIphi()
Definition:
jFEXForwardElecInfo.cxx:48
LVL1::jFEXForwardElecInfo::m_coreTTEtEM
int m_coreTTEtEM
Definition:
jFEXForwardElecInfo.h:89
LVL1::jFEXForwardElecInfo::m_nextTTID
uint m_nextTTID
Definition:
jFEXForwardElecInfo.h:91
StoreGateSvc.h
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::jFEXForwardElecInfo::m_TTEtHad1
int m_TTEtHad1
Definition:
jFEXForwardElecInfo.h:95
LVL1::jFEXForwardElecInfo::getCoreTTSatEM
bool getCoreTTSatEM()
Definition:
jFEXForwardElecInfo.cxx:85
LVL1::jFEXForwardElecInfo::getTobWord
uint32_t getTobWord()
Definition:
jFEXForwardElecInfo.cxx:182
Generated on Tue Dec 24 2024 21:12:43 for ATLAS Offline Software by
1.8.18