ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigL1Calo
xAODTrigL1Calo
versions
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"
9
#include "
AthContainers/AuxElement.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
static
const
int
c_missingCountCode
= 1025;
// code used to in bs decoder to indicate a missing supercell count
25
27
using
SG::AuxElement::AuxElement;
28
30
float
eta
()
const
;
31
void
setEta
(
float
);
32
34
float
phi
()
const
;
35
void
setPhi
(
float
);
36
38
uint8_t
module
()
const
;
40
void
setModule
(
uint8_t
);
41
43
uint8_t
fpga
()
const
;
45
void
setFpga
(
uint8_t
);
46
54
int32_t
id
()
const
;
55
57
const
std::vector<uint16_t>&
et_count
()
const
;
59
void
setEt_count
(
const
std::vector<uint16_t>&);
60
void
setEt_count
(std::vector<uint16_t>&&);
61
66
bool
disconnectedCount
(
size_t
idx)
const
;
67
70
size_t
cellIdx
(
uint32_t
layer,
uint32_t
cell=0)
const
;
71
76
int
cellEt
(
uint32_t
layer,
uint32_t
cell=0)
const
;
77
78
80
uint32_t
em_status
()
const
;
82
void
setEm_status
(
uint32_t
);
83
85
uint32_t
had_status
()
const
;
87
void
setHad_status
(
uint32_t
);
88
90
uint32_t
eFEXtowerID
()
const
;
91
92
93
void
initialize
(
const
float
Eta,
const
float
Phi);
94
void
initialize
(
const
float
Eta,
const
float
Phi,
95
const
std::vector<uint16_t>& Et_count,
96
const
uint8_t
Module,
97
const
uint8_t
Fpga,
98
const
uint32_t
Em_status,
99
const
uint32_t
Had_status);
100
101
private
:
102
103
};
// class eFexTower_v1
104
}
// namespace xAOD
105
106
// Declare the inheritance of the type:
107
#include "
xAODCore/BaseInfo.h
"
108
SG_BASE
(
xAOD::eFexTower_v1
,
SG::AuxElement
);
109
#endif
// XAODTRIGL1CALO_VERSIONS_EFEXTOWER_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
BaseInfo.h
xAOD::eFexTower_v1
Class describing input data of a LVL1 eFEX.
Definition
eFexTower_v1.h:22
xAOD::eFexTower_v1::setEta
void setEta(float)
getter for the global eta value (float)
xAOD::eFexTower_v1::setFpga
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
xAOD::eFexTower_v1::em_status
uint32_t em_status() const
get em status bit
xAOD::eFexTower_v1::c_missingCountCode
static const int c_missingCountCode
Definition
eFexTower_v1.h:24
xAOD::eFexTower_v1::had_status
uint32_t had_status() const
setter for the above
xAOD::eFexTower_v1::setPhi
void setPhi(float)
getter for the global phi value (float)
xAOD::eFexTower_v1::eFEXtowerID
uint32_t eFEXtowerID() const
setter for the above
Definition
eFexTower_v1.cxx:23
xAOD::eFexTower_v1::setEt_count
void setEt_count(std::vector< uint16_t > &&)
setter for the above
xAOD::eFexTower_v1::et_count
const std::vector< uint16_t > & et_count() const
get Energy Counts
xAOD::eFexTower_v1::phi
float phi() const
setter for the above
xAOD::eFexTower_v1::id
int32_t id() const
setter for the above
Definition
eFexTower_v1.cxx:69
xAOD::eFexTower_v1::cellIdx
size_t cellIdx(uint32_t layer, uint32_t cell=0) const
Obtain the index in the count vector of a given supercell returns et_count().size() if cell is invali...
Definition
eFexTower_v1.cxx:111
xAOD::eFexTower_v1::setEt_count
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
xAOD::eFexTower_v1::module
uint8_t module() const
setter for the above
xAOD::eFexTower_v1::setHad_status
void setHad_status(uint32_t)
getter for hadronic status bit
xAOD::eFexTower_v1::cellEt
int cellEt(uint32_t layer, uint32_t cell=0) const
supercell Et in MeV layer: 0-4 (ps,l1,l2,l3,had) cell: 0-3 for l1,l2, 0 otherwise will return 0 if th...
Definition
eFexTower_v1.cxx:120
xAOD::eFexTower_v1::fpga
uint8_t fpga() const
setter for the above
xAOD::eFexTower_v1::disconnectedCount
bool disconnectedCount(size_t idx) const
setter for the above
Definition
eFexTower_v1.cxx:77
xAOD::eFexTower_v1::setModule
void setModule(uint8_t)
getter for the module number [0-23] inclusive
xAOD::eFexTower_v1::setEm_status
void setEm_status(uint32_t)
getter for the electromagnetic status bit
xAOD::eFexTower_v1::eta
float eta() const
The pseudorapidity ( ).
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::uint8_t
uint8_t
Definition
Muon_v1.cxx:500
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0