ATLAS Offline Software
Loading...
Searching...
No Matches
jFEXForwardElecInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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
17
18namespace LVL1 {
19
21
22 public:
23
24
25 // Setup with key parameters and menu info
26 void setup(int jfex, uint ttid, int neta, int nphi); //used
27 void setup(int *cval, uint reso = 200);
28
29 // Basic IDs and energies (TT level)
30 uint getCoreTTID() const;
31 uint getCoreIphi() const;
32 uint getCoreIeta() const; //used
33 void setCoreTTEtEM(int ET_EM );//used
34 int getCoreTTEtEM() const; //used
35 void setCoreTTSatEM(bool sat);
36 bool getCoreTTSatEM() const;
37 void setNextTTID(uint TTID ); //used
38 uint getNextTTID() const;
39 void setNextTTEtEM(int ET_EM); //used
40 int getNextTTEtEM() const; //used
41 void setNextTTSatEM(bool sat);
42 bool getNextTTSatEM() const;
43 void setTTEtEMiso(int iso_ET); //used
44 void addTTEtEMiso(int iso_ET); //used
45 int getTTEtEMiso() const;
46 void setTTEtHad1(int ET_HAD); //used, EMfr1
47 void addTTEtHad1(int ET_HAD); //used, special SC
48 int getTTEtHad1() const;
49 void setTTEtHad2(int ET_HAD); //used, EMfr2
50 int getTTEtHad2() const;
51 void calcTTClusEtEM(); //used
52 int getTTClusEtEM() const; //used
53 bool getTTClusSatEM() const;
54 void includeTTinSearchWindow(uint TT_ID);
55 const std::vector<uint>& getTTinSearchWindow() const;
56 // floating point values
57 void setCoreTTfEta(float feta);//used
58 float getCoreTTfEta() const; //used
59 void setCoreTTfPhi(float fphi);//used
60 float getCoreTTfPhi() const; //used
61 uint getCoreTTiEta() const; //used
62 // EDM quantities, corrected for resolution
63 uint getEtEMiso() const;
64 uint getEtHad1() const;
65 uint getEtHad2() const;
66 uint getEtEM() const;
67 uint getEt() const;
68 int getGlobalEta() const;
69 uint getGlobalPhi() const;
70 uint32_t getTobWord() const; //used
71
73 void calcFwdElEDM(); //used
74
76 std::unique_ptr<jFEXForwardElecTOB> getFwdElTOBs();
77
78
79 private:
80
81 int m_coreTTEtEM = 0;
82 bool m_coreTTsatEM = false;
84 int m_nextTTEtEM = 0;
85 bool m_nextTTsatEM = false;
86 int m_TTEtEMiso = 0;
87 int m_TTEtHad1 = 0;
88 int m_TTEtHad2 = 0;
89 int m_TTClusEtEM = 0;
90 bool m_TTClusSatEM = false;
91 float m_coreTTfEta = 0;
92 float m_coreTTfPhi = 0;
93 std::vector<uint> m_TTsInSearchWindow = {};
94 //---- configured (constructor, setup) -----
96 int m_ieta = 0;
97 int m_iphi = 0;
99 uint m_reso = 200;
100 int m_cval[9] = {1,2,3,20,30,40,20,30,40};
101 //---- modified in calcTobValues -----
106 uint m_et = 0;
114 uint32_t m_tob = 0;
115 //----
116 /*
117 uint m_coreL2TTID = 0;
118 uint m_coreL3TTID = 0;
119 uint m_nextL2TTID = 0;
120 uint m_thirdL2TTID = 0;
121 */
122
123
124
125};
126
127
128}//end of namespace
129
130CLASS_DEF( LVL1::jFEXForwardElecInfo , 219384518 , 1 )
131#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
unsigned int uint
std::unique_ptr< jFEXForwardElecTOB > getFwdElTOBs()
Calculate top word.
std::vector< uint > m_TTsInSearchWindow
void calcFwdElEDM()
Calculate variables for top word.
void setup(int jfex, uint ttid, int neta, int nphi)
const std::vector< uint > & getTTinSearchWindow() const
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...