ATLAS Offline Software
eFexTower_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_EFEXTOWER_V1_H
5 #define XAODTRIGL1CALO_VERSIONS_EFEXTOWER_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 eFexTower_v1 : public SG::AuxElement{
23  public:
24 
27 
29  float eta() const;
30  void setEta(float);
31 
33  float phi() const;
34  void setPhi(float);
35 
37  uint8_t module() const;
38  void setModule(uint8_t);
40 
42  uint8_t fpga() const;
43  void setFpga(uint8_t);
45 
53  int32_t id() const;
54 
56  const std::vector<uint16_t>& et_count() const;
57  void setEt_count(const std::vector<uint16_t>&);
59  void setEt_count(std::vector<uint16_t>&&);
60 
65  bool disconnectedCount(size_t idx) const;
66 
68  uint32_t em_status() const;
69  void setEm_status(uint32_t);
71 
73  uint32_t had_status() const;
74  void setHad_status(uint32_t);
76 
78  uint32_t eFEXtowerID() const;
79 
80 
81  void initialize(const float Eta,const float Phi);
82  void initialize(const float Eta,const float Phi,
83  const std::vector<uint16_t>& Et_count,
84  const uint8_t Module,
85  const uint8_t Fpga,
86  const uint32_t Em_status,
87  const uint32_t Had_status);
88 
89  private:
90 
91  }; // class eFexTower_v1
92 } // namespace xAOD
93 
94 // Declare the inheritance of the type:
95 #include "xAODCore/BaseInfo.h"
97 #endif // XAODTRIGL1CALO_VERSIONS_EFEXTOWER_V1_H
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::eFexTower_v1::eFEXtowerID
uint32_t eFEXtowerID() const
setter for the above
Definition: eFexTower_v1.cxx:23
xAOD::eFexTower_v1
Class describing input data of a LVL1 eFEX.
Definition: eFexTower_v1.h:22
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:483
xAOD::eFexTower_v1::module
uint8_t module() const
setter for the above
BaseInfo.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::eFexTower_v1::setEt_count
void setEt_count(std::vector< uint16_t > &&)
setter for the above
xAOD::eFexTower_v1::phi
float phi() const
setter for the above
xAOD::eFexTower_v1::eta
float eta() const
The pseudorapidity ( )
xAOD::eFexTower_v1::setModule
void setModule(uint8_t)
getter for the module number [0-23] inclusive
xAOD::eFexTower_v1::em_status
uint32_t em_status() const
get em status bit
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
xAOD::eFexTower_v1::disconnectedCount
bool disconnectedCount(size_t idx) const
setter for the above
Definition: eFexTower_v1.cxx:77
xAOD::eFexTower_v1::et_count
const std::vector< uint16_t > & et_count() const
get Energy Counts
xAOD::eFexTower_v1::initialize
void initialize(const float Eta, const float Phi)
getter for the etower simulation ID
Definition: eFexTower_v1.cxx:47
xAOD::eFexTower_v1::fpga
uint8_t fpga() const
setter for the above
xAOD::eFexTower_v1::setPhi
void setPhi(float)
getter for the global phi value (float)
xAOD::eFexTower_v1::setEm_status
void setEm_status(uint32_t)
getter for the electromagnetic status bit
xAOD::eFexTower_v1::had_status
uint32_t had_status() const
setter for the above
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
xAOD::eFexTower_v1::setFpga
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
SG_BASE
SG_BASE(xAOD::eFexTower_v1, SG::AuxElement)
xAOD::eFexTower_v1::setHad_status
void setHad_status(uint32_t)
getter for hadronic status bit
xAOD::eFexTower_v1::id
int32_t id() const
setter for the above
Definition: eFexTower_v1.cxx:69
Eta
@ Eta
Definition: RPCdef.h:8
xAOD::eFexTower_v1::setEt_count
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::eFexTower_v1::setEta
void setEta(float)
getter for the global eta value (float)