ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace xAOD {
18
20 // in the xAOD format.
21
23 public:
24
27
29 uint8_t iEta() const;
31
33 uint8_t iPhi() const;
35
36 float eta() const;
37 void setEta(float);
38
40 float phi() const;
41 void setPhi(float);
42
44 uint8_t fpga() const;
47
49 int towerEt() const;
51 void setTowerEt(int);
53 int16_t signedEt(int TowerEt) const;
54
56 char isSaturated() const;
58 void setIsSaturated(char);
59
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
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 eFEX.
void setIsSaturated(char)
getter for the saturation flag of gTower
uint8_t fpga() const
setter for the above
void setFpga(uint8_t)
getter for the fpga number [0-2] inclusive
int16_t signedEt(int TowerEt) const
setter for the above
float phi() const
setter for the above
void setTowerEt(int)
getter for the energy value
void setgFEXtowerID(uint32_t)
getter for the jtower simulation ID
uint8_t iEta() const
The pseudorapidity ( )
int towerEt() const
setter for the above
uint32_t gFEXtowerID() const
setter for the above
uint8_t iPhi() const
setter for the above
char isSaturated() const
extract the signed value of the tower
void setEta(float)
getter for float eta value [-pi, pi]
float eta() const
setter for the above
void setiPhi(uint8_t)
Getter for integer phi index [0-31] inclusive.
void setPhi(float)
Getter for float phi value.
void setiEta(uint8_t)
getter for integer eta index (0-39)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setScaleOne setStatusOne setSaturated int16_t
setEventNumber uint32_t
void initialize()