ATLAS Offline Software
gFexTower_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Local include(s):
7 
8 // EDM includes(s):
10 
11 namespace xAOD{
12 
13  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, uint8_t , iEta , setiEta )
14  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, uint8_t , iPhi , setiPhi )
15  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, float , eta , setEta )
16  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, float , phi , setPhi )
17  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, uint8_t , fpga , setFpga )
18  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, int , towerEt , setTowerEt )
19  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, char , isSaturated , setIsSaturated )
20  AUXSTORE_PRIMITIVE_SETTER_AND_GETTER( gFexTower_v1, uint32_t, gFEXtowerID , setgFEXtowerID )
21 
22 
24  {
25  setiEta( IEta );
26  setiPhi( IPhi );
27  }
28 
30  const uint8_t IPhi,
31  const float Eta,
32  const float Phi,
33  const int TowerEt,
34  const uint8_t Fpga,
35  const char IsSaturated,
36  const uint32_t gFEXtowerID)
37  {
38  setiEta( IEta );
39  setiPhi( IPhi );
40  setEta( Eta );
41  setPhi( Phi );
42  setFpga( Fpga );
43  setIsSaturated( IsSaturated );
45  setTowerEt( TowerEt );
46 
47  }
48 
49 } // namespace xAOD
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
initialize
void initialize()
Definition: run_EoverP.cxx:894
gFexTower_v1.h
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
Phi
@ Phi
Definition: RPCdef.h:8
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Amg::setPhi
Amg::RotationMatrix3D setPhi(Amg::RotationMatrix3D mat, double angle, int convention=0)
Definition: EulerAnglesHelpers.h:102
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::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
xAOD::gFexTower_v1::setIsSaturated
void setIsSaturated(char)
getter for the saturation flag of gTower
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.
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:47
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]
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:74
Eta
@ Eta
Definition: RPCdef.h:8
xAOD::gFexTower_v1::setiPhi
void setiPhi(uint8_t)
Getter for integer phi index [0-31] inclusive.