ATLAS Offline Software
gFexTower_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef XAODTRIGL1CALO_VERSIONS_GFEXTOWER_V1_H
5 #define XAODTRIGL1CALO_VERSIONS_GFEXTOWER_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 
17 namespace xAOD {
18 
20  // in the xAOD format.
21 
22  class gFexTower_v1 : public SG::AuxElement{
23  public:
24 
27 
29  uint8_t iEta() const;
30  void setiEta(uint8_t);
31 
33  uint8_t iPhi() const;
34  void setiPhi(uint8_t);
35 
36  float eta() const;
37  void setEta(float);
38 
40  float phi() const;
41  void setPhi(float);
42 
44  uint8_t fpga() const;
45  void setFpga(uint8_t);
47 
49  int towerEt() const;
50  void setTowerEt(int);
52  int16_t signedEt(int TowerEt) const;
54 
56  char isSaturated() const;
57  void setIsSaturated(char);
59 
62  void setgFEXtowerID(uint32_t);
64 
65 
66 
67  void initialize(const uint8_t IEta,const uint8_t IPhi);
68  void initialize(const uint8_t IEta,const uint8_t IPhi,
69  const float Eta,const float Phi,
70  const int TowerEt,const uint8_t Fpga,
71  const char IsSaturated,
72  const uint32_t gFEXtowerID);
73 
74 
75  private:
76 
77  }; // class gFexTower_v1
78 } // namespace xAOD
79 
80 // Declare the inheritance of the type:
81 #include "xAODCore/BaseInfo.h"
83 #endif // XAODTRIGL1CALO_VERSIONS_GFEXTOWER_V1_H
xAOD::gFexTower_v1::isSaturated
char isSaturated() const
extract the signed value of the tower
xAOD::gFexTower_v1::signedEt
int16_t signedEt(int TowerEt) const
setter for the above
xAOD::gFexTower_v1::eta
float eta() const
setter for the above
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
BaseInfo.h
xAOD::gFexTower_v1::towerEt
int towerEt() const
setter for the above
xAOD::gFexTower_v1::setgFEXtowerID
void setgFEXtowerID(uint32_t)
getter for the jtower simulation ID
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::int16_t
setScaleOne setStatusOne setSaturated int16_t
Definition: gFexGlobalRoI_v1.cxx:55
xAOD::gFexTower_v1::gFEXtowerID
uint32_t gFEXtowerID() const
setter for the above
xAOD::gFexTower_v1::initialize
void initialize(const uint8_t IEta, const uint8_t IPhi)
setter for the above
Definition: gFexTower_v1.cxx:23
xAOD::gFexTower_v1::iPhi
uint8_t iPhi() const
setter for the above
xAOD::gFexTower_v1::fpga
uint8_t fpga() const
setter for the above
xAOD::gFexTower_v1::setIsSaturated
void setIsSaturated(char)
getter for the saturation flag of gTower
xAOD::gFexTower_v1::phi
float phi() const
setter for the above
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
xAOD::gFexTower_v1::iEta
uint8_t iEta() const
The pseudorapidity ( )
xAOD::gFexTower_v1
Class describing input data of a LVL1 eFEX.
Definition: gFexTower_v1.h:22
xAOD::gFexTower_v1::setFpga
void setFpga(uint8_t)
getter for the fpga number [0-2] inclusive
xAOD::gFexTower_v1::setPhi
void setPhi(float)
Getter for float phi value.
SG_BASE
SG_BASE(xAOD::gFexTower_v1, SG::AuxElement)
xAOD::gFexTower_v1::setiEta
void setiEta(uint8_t)
getter for integer eta index (0-39)
xAOD::gFexTower_v1::setTowerEt
void setTowerEt(int)
getter for the energy value
xAOD::gFexTower_v1::setEta
void setEta(float)
getter for float eta value [-pi, pi]
Eta
@ Eta
Definition: RPCdef.h:8
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::gFexTower_v1::setiPhi
void setiPhi(uint8_t)
Getter for integer phi index [0-31] inclusive.