ATLAS Offline Software
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 
17 namespace xAOD {
18 
20  // in the xAOD format.
21 
22  class jFexTower_v1 : public SG::AuxElement{
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;
44  void setModule(uint8_t);
46 
48  uint8_t fpga() const;
49  void setFpga(uint8_t);
51 
53  uint8_t channel() const;
54  void setChannel(uint8_t);
56 
58  const std::vector<uint16_t>& et_count() const;
59  void setEt_count(const std::vector<uint16_t>&);
61  void setEt_count(std::vector<uint16_t>&&);
62 
63 
65  uint8_t jFEXdataID() const;
66  void setJFEXdataID(uint8_t);
68 
70  const std::vector<char>& isjTowerSat() const;
71  void setIsjTowerSat(const std::vector<char>&);
73  void setIsjTowerSat(std::vector<char>&&);
74 
77  void setjFEXtowerID(uint32_t);
79 
82  uint8_t Calosource() const;
83  void setCalosource(uint8_t);
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
xAOD::jFexTower_v1::setjtowerEtMeV
void setjtowerEtMeV(int)
getter
xAOD::jFexTower_v1::setSCellEtMeV
void setSCellEtMeV(float)
getter
xAOD::jFexTower_v1::jtowerEtMeV
int jtowerEtMeV() const
setter
xAOD::jFexTower_v1::emulated_jtowerEt
int emulated_jtowerEt() const
setter
xAOD::jFexTower_v1::isCore
bool isCore() const
Definition: jFexTower_v1.cxx:101
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::jFexTower_v1::SCellEt
const std::vector< float > & SCellEt() const
Information about SCell Ets.
LArBadChanBlobUtils::Channel
Identifier32::value_type Channel
Definition: LArBadChanBlobUtils.h:24
xAOD::jFexTower_v1::et_count
const std::vector< uint16_t > & et_count() const
setter for the above
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::jFexTower_v1::setTileEta
void setTileEta(float)
getter
xAOD::jFexTower_v1::fpga
uint8_t fpga() const
setter for the above
xAOD::jFexTower_v1::phi
float phi() const
setter for the above
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::jFexTower_v1::setglobalEta
void setglobalEta(int)
getter for the global eta value (int)
xAOD::jFexTower_v1::setSCellEt
void setSCellEt(const std::vector< float > &)
getter
xAOD::jFexTower_v1::setSCellEta
void setSCellEta(std::vector< float > &&)
setter
xAOD::jFexTower_v1::setCalosource
void setCalosource(uint8_t)
getter for the calorimeter source
xAOD::jFexTower_v1::setSCellPhi
void setSCellPhi(std::vector< float > &&)
setter
xAOD::jFexTower_v1::setTilePhi
void setTilePhi(float)
getter
BaseInfo.h
SG_BASE
SG_BASE(xAOD::jFexTower_v1, SG::AuxElement)
xAOD::jFexTower_v1::setEt_count
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::jFexTower_v1::TilePhi
float TilePhi() const
setter
xAOD::jFexTower_v1::setglobalPhi
void setglobalPhi(unsigned int)
getter for the global phi value (int)
xAOD::jFexTower_v1::setSCellPhi
void setSCellPhi(const std::vector< float > &)
getter
xAOD::jFexTower_v1::setEta
void setEta(float)
getter for the global eta value (float)
xAOD::jFexTower_v1::setIsjTowerSat
void setIsjTowerSat(const std::vector< char > &)
getter for the saturation flag of jTower
xAOD::jFexTower_v1::setTileEtMeV
void setTileEtMeV(float)
getter
xAOD::jFexTower_v1::globalEta
int globalEta() const
setter for the above
xAOD::jFexTower_v1::eta
float eta() const
The pseudorapidity ( )
xAOD::jFexTower_v1::setFpga
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
xAOD::jFexTower_v1::setSCellID
void setSCellID(const std::vector< int > &)
getter
xAOD::jFexTower_v1::SCellEta
const std::vector< float > & SCellEta() const
setter
xAOD::jFexTower_v1::SCellPhi
const std::vector< float > & SCellPhi() const
setter
xAOD::jFexTower_v1::OnlineID
int OnlineID() const
Definition: jFexTower_v1.cxx:135
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::jFexTower_v1::TileEtMeV
float TileEtMeV() const
setter
xAOD::jFexTower_v1::initialize
void initialize(const float Eta, const float Phi)
setter
Definition: jFexTower_v1.cxx:59
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
xAOD::jFexTower_v1::setSCellID
void setSCellID(std::vector< int > &&)
setter
xAOD::jFexTower_v1::setPhi
void setPhi(float)
getter for the global phi value (float)
xAOD::jFexTower_v1::jFEXtowerID
uint32_t jFEXtowerID() const
setter for the above
xAOD::jFexTower_v1::SCellMask
const std::vector< bool > & SCellMask() const
setter
xAOD::jFexTower_v1::setEt_count
void setEt_count(std::vector< uint16_t > &&)
setter for the above
xAOD::jFexTower_v1::setSCellEta
void setSCellEta(const std::vector< float > &)
getter
xAOD::jFexTower_v1::isjTowerSat
const std::vector< char > & isjTowerSat() const
setter for the above
xAOD::jFexTower_v1::module
uint8_t module() const
setter for the above
xAOD::jFexTower_v1::setSCellMask
void setSCellMask(const std::vector< bool > &)
getter
xAOD::jFexTower_v1::Calosource
uint8_t Calosource() const
setter for the above
xAOD::jFexTower_v1::setJFEXdataID
void setJFEXdataID(uint8_t)
getter for the location in data stream where Et is placed [0-15]
xAOD::jFexTower_v1::channel
uint8_t channel() const
setter for the above
xAOD::jFexTower_v1::setTileEt
void setTileEt(int)
getter
xAOD::jFexTower_v1::jFEXdataID
uint8_t jFEXdataID() const
setter for the above
xAOD::jFexTower_v1::TileEt
int TileEt() const
setter
xAOD::jFexTower_v1::setChannel
void setChannel(uint8_t)
getter for the channel number [0-59]
xAOD::jFexTower_v1::setModule
void setModule(uint8_t)
getter for the module number [0-5] inclusive
copySelective.source
string source
Definition: copySelective.py:32
xAOD::jFexTower_v1::SCellEtMeV
float SCellEtMeV() const
setter
xAOD::jFexTower_v1::TileEta
float TileEta() const
setter
xAOD::jFexTower_v1
Class describing input data of a LVL1 jFEX.
Definition: jFexTower_v1.h:22
xAOD::jFexTower_v1::globalPhi
unsigned int globalPhi() const
setter for the above
xAOD::jFexTower_v1::setemulated_jtowerEt
void setemulated_jtowerEt(int)
getter
xAOD::jFexTower_v1::setIsjTowerSat
void setIsjTowerSat(std::vector< char > &&)
setter for the above
xAOD::jFexTower_v1::setSCellEt
void setSCellEt(std::vector< float > &&)
setter
xAOD::jFexTower_v1::setjFEXtowerID
void setjFEXtowerID(uint32_t)
getter for the jtower simulation ID
xAOD::jFexTower_v1::OfflineID
int OfflineID() const
Definition: jFexTower_v1.cxx:140
xAOD::jFexTower_v1::jTowerEt
uint16_t jTowerEt() const
setter for the above
Definition: jFexTower_v1.cxx:93
Eta
@ Eta
Definition: RPCdef.h:8
xAOD::jFexTower_v1::SCellID
const std::vector< int > & SCellID() const
setter
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::jFexTower_v1::setSCellMask
void setSCellMask(std::vector< bool > &&)
setter