ATLAS Offline Software
Loading...
Searching...
No Matches
jFexTower_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef XAODTRIGL1CALO_VERSIONS_JFEXTOWER_V1_H
5#define XAODTRIGL1CALO_VERSIONS_JFEXTOWER_V1_H
6
7// EDM include(s):
8#include "AthLinks/ElementLink.h"
10
11// System include(s):
12#include <stdint.h>
13
14// ROOT include(s):
15#include "Math/Vector4D.h"
16
17namespace xAOD {
18
20 // in the xAOD format.
21
23 public:
24
27
29 float eta() const;
30 void setEta(float);
31
32 int globalEta() const;
33 void setglobalEta(int);
34
36 float phi() const;
37 void setPhi(float);
38
39 unsigned int globalPhi() const;
40 void setglobalPhi(unsigned int);
41
43 uint8_t module() const;
46
48 uint8_t fpga() const;
51
53 uint8_t channel() const;
56
58 const std::vector<uint16_t>& et_count() const;
60 void setEt_count(const std::vector<uint16_t>&);
61 void setEt_count(std::vector<uint16_t>&&);
62
63
68
70 const std::vector<char>& isjTowerSat() const;
72 void setIsjTowerSat(const std::vector<char>&);
73 void setIsjTowerSat(std::vector<char>&&);
74
79
85
86 //Returns the Et of the Tower
87 uint16_t jTowerEt() const;
88
89 //Returns true if the Tower belongs to the FPGA core area
90 bool isCore() const;
91
92 //Returns Online ID
93 int OnlineID() const;
94
95 //Returns Offline ID
96 int OfflineID() const;
97
98
99
100
101 // Decorated variables
102
104 const std::vector<float>& SCellEt() const;
105 void setSCellEt(const std::vector<float>&);
106 void setSCellEt(std::vector<float>&&);
107
109 const std::vector<float>& SCellEta() const;
110 void setSCellEta(const std::vector<float>&);
111 void setSCellEta(std::vector<float>&&);
112
114 const std::vector<float>& SCellPhi() const;
115 void setSCellPhi(const std::vector<float>&);
116 void setSCellPhi(std::vector<float>&&);
117
119 const std::vector<int>& SCellID() const;
120 void setSCellID(const std::vector<int>&);
121 void setSCellID(std::vector<int>&&);
122
124 const std::vector<bool>& SCellMask() const;
125 void setSCellMask(const std::vector<bool>&);
126 void setSCellMask(std::vector<bool>&&);
127
129 int TileEt() const;
130 void setTileEt(int);
131
133 float TileEta() const;
134 void setTileEta(float);
135
137 float TilePhi() const;
138 void setTilePhi(float);
139
141 int jtowerEtMeV() const;
142 void setjtowerEtMeV(int);
143
145 float SCellEtMeV() const;
146 void setSCellEtMeV(float);
147
149 float TileEtMeV() const;
150 void setTileEtMeV(float);
151
153 int emulated_jtowerEt() const;
155
156
157 void initialize( const float Eta,const float Phi);
158 void initialize( const float Eta,const float Phi,const int globaleta,const unsigned int globalphi,
159 const uint32_t IDsim,
160 const uint8_t source,
161 const std::vector<uint16_t>& Et_count,
162 const uint8_t Module,
163 const uint8_t Fpga,
164 const uint8_t Channel,
165 const uint8_t JFEXdataID,
166 const std::vector<char>& IsjTowerSat);
167
168
169 private:
170
171 }; // class jFexTower_v1
172} // namespace xAOD
173
174// Declare the inheritance of the type:
175#include "xAODCore/BaseInfo.h"
177#endif // XAODTRIGL1CALO_VERSIONS_JFEXTOWER_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
AuxElement()
Default constructor.
Class describing input data of a LVL1 jFEX.
const std::vector< int > & SCellID() const
setter
const std::vector< float > & SCellPhi() const
setter
float eta() const
The pseudorapidity ( )
void setModule(uint8_t)
getter for the module number [0-5] inclusive
uint8_t fpga() const
setter for the above
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
const std::vector< float > & SCellEta() const
setter
int jtowerEtMeV() const
setter
float TileEta() const
setter
void setSCellPhi(std::vector< float > &&)
setter
float TileEtMeV() const
setter
void setSCellEt(std::vector< float > &&)
setter
void setSCellPhi(const std::vector< float > &)
getter
void setSCellMask(std::vector< bool > &&)
setter
void setSCellID(const std::vector< int > &)
getter
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
void setPhi(float)
getter for the global phi value (float)
void setChannel(uint8_t)
getter for the channel number [0-59]
void setTileEtMeV(float)
getter
const std::vector< char > & isjTowerSat() const
setter for the above
void setSCellEt(const std::vector< float > &)
getter
unsigned int globalPhi() const
setter for the above
void setSCellID(std::vector< int > &&)
setter
uint32_t jFEXtowerID() const
setter for the above
float phi() const
setter for the above
void setSCellEta(const std::vector< float > &)
getter
void setTileEta(float)
getter
void setglobalPhi(unsigned int)
getter for the global phi value (int)
uint8_t module() const
setter for the above
void setTileEt(int)
getter
const std::vector< bool > & SCellMask() const
setter
void setjtowerEtMeV(int)
getter
void setSCellMask(const std::vector< bool > &)
getter
void setSCellEtMeV(float)
getter
uint16_t jTowerEt() const
setter for the above
void setEt_count(std::vector< uint16_t > &&)
setter for the above
void setIsjTowerSat(std::vector< char > &&)
setter for the above
int emulated_jtowerEt() const
setter
void setTilePhi(float)
getter
float SCellEtMeV() const
setter
void setSCellEta(std::vector< float > &&)
setter
uint8_t Calosource() const
setter for the above
void setEta(float)
getter for the global eta value (float)
float TilePhi() const
setter
int globalEta() const
setter for the above
uint8_t jFEXdataID() const
setter for the above
uint8_t channel() const
setter for the above
const std::vector< float > & SCellEt() const
Information about SCell Ets.
void setjFEXtowerID(uint32_t)
getter for the jtower simulation ID
int TileEt() const
setter
const std::vector< uint16_t > & et_count() const
setter for the above
void setemulated_jtowerEt(int)
getter
void setJFEXdataID(uint8_t)
getter for the location in data stream where Et is placed [0-15]
void setIsjTowerSat(const std::vector< char > &)
getter for the saturation flag of jTower
void setglobalEta(int)
getter for the global eta value (int)
void setCalosource(uint8_t)
getter for the calorimeter source
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
setEventNumber uint32_t
void initialize()