ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigL1Calo
Root
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):
6
#include "
xAODTrigL1Calo/versions/gFexTower_v1.h
"
7
8
// EDM includes(s):
9
#include "
xAODCore/AuxStoreAccessorMacros.h
"
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
23
void
gFexTower_v1
::
initialize
(
const
uint8_t
IEta,
const
uint8_t
IPhi)
24
{
25
setiEta
( IEta );
26
setiPhi
( IPhi );
27
}
28
29
void
gFexTower_v1::initialize
(
const
uint8_t
IEta,
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 );
44
setgFEXtowerID
(
gFEXtowerID
);
45
setTowerEt
( TowerEt );
46
47
}
48
49
}
// namespace xAOD
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
AuxStoreAccessorMacros.h
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
Definition
AuxStoreAccessorMacros.h:36
xAOD::gFexTower_v1
Class describing input data of a LVL1 eFEX.
Definition
gFexTower_v1.h:22
xAOD::gFexTower_v1::setIsSaturated
void setIsSaturated(char)
getter for the saturation flag of gTower
xAOD::gFexTower_v1::setFpga
void setFpga(uint8_t)
getter for the fpga number [0-2] inclusive
xAOD::gFexTower_v1::setTowerEt
void setTowerEt(int)
getter for the energy value
xAOD::gFexTower_v1::setgFEXtowerID
void setgFEXtowerID(uint32_t)
getter for the jtower simulation ID
xAOD::gFexTower_v1::gFEXtowerID
uint32_t gFEXtowerID() const
setter for the above
xAOD::gFexTower_v1::setEta
void setEta(float)
getter for float eta value [-pi, pi]
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::setiPhi
void setiPhi(uint8_t)
Getter for integer phi index [0-31] inclusive.
xAOD::gFexTower_v1::setPhi
void setPhi(float)
Getter for float phi value.
xAOD::gFexTower_v1::setiEta
void setiEta(uint8_t)
getter for integer eta index (0-39)
gFexTower_v1.h
const
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::iEta
setScale setgFexType iEta
Definition
gFexJetRoI_v1.cxx:77
xAOD::uint8_t
uint8_t
Definition
Muon_v1.cxx:500
xAOD::phi
setEt phi
Definition
TrigEMCluster_v1.cxx:29
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
Generated on
for ATLAS Offline Software by
1.17.0