![]() |
ATLAS Offline Software
|
Class describing input data of a LVL1 eFEX. More...
#include <eFexTower_v1.h>
Public Member Functions | |
| float | eta () const |
| The pseudorapidity ( \(\eta\)). | |
| void | setEta (float) |
| getter for the global eta value (float) | |
| float | phi () const |
| setter for the above | |
| void | setPhi (float) |
| getter for the global phi value (float) | |
| uint8_t | module () const |
| setter for the above | |
| void | setModule (uint8_t) |
| getter for the module number [0-23] inclusive | |
| uint8_t | fpga () const |
| setter for the above | |
| void | setFpga (uint8_t) |
| getter for the fpga number [0-3] inclusive | |
| int32_t | id () const |
| setter for the above | |
| const std::vector< uint16_t > & | et_count () const |
| get Energy Counts | |
| void | setEt_count (const std::vector< uint16_t > &) |
| getter for the 11 energy counts | |
| void | setEt_count (std::vector< uint16_t > &&) |
| setter for the above | |
| bool | disconnectedCount (size_t idx) const |
| setter for the above | |
| 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 invalid. | |
| 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 the cell is disconnected or invalid | |
| uint32_t | em_status () const |
| get em status bit | |
| void | setEm_status (uint32_t) |
| getter for the electromagnetic status bit | |
| uint32_t | had_status () const |
| setter for the above | |
| void | setHad_status (uint32_t) |
| getter for hadronic status bit | |
| uint32_t | eFEXtowerID () const |
| setter for the above | |
| void | initialize (const float Eta, const float Phi) |
| getter for the etower simulation ID | |
| void | initialize (const float Eta, const float Phi, const std::vector< uint16_t > &Et_count, const uint8_t Module, const uint8_t Fpga, const uint32_t Em_status, const uint32_t Had_status) |
Static Public Attributes | |
| static const int | c_missingCountCode = 1025 |
Class describing input data of a LVL1 eFEX.
Definition at line 22 of file eFexTower_v1.h.
supercell Et in MeV layer: 0-4 (ps,l1,l2,l3,had) cell: 0-3 for l1,l2, 0 otherwise will return 0 if the cell is disconnected or invalid
Definition at line 120 of file eFexTower_v1.cxx.
Obtain the index in the count vector of a given supercell returns et_count().size() if cell is invalid.
Definition at line 111 of file eFexTower_v1.cxx.
| bool xAOD::eFexTower_v1::disconnectedCount | ( | size_t | idx | ) | const |
setter for the above
check if slot is actually connected some slots can be disconnected entirely (will have 0 in them) or can be pathalogically connected but not used by the module's algorithms at all (they are out of range) These are also flagged as disconnected
Definition at line 77 of file eFexTower_v1.cxx.
| uint32_t xAOD::eFexTower_v1::eFEXtowerID | ( | ) | const |
setter for the above
get the Simulation ID
Definition at line 23 of file eFexTower_v1.cxx.
| uint32_t xAOD::eFexTower_v1::em_status | ( | ) | const |
get em status bit
| float xAOD::eFexTower_v1::eta | ( | ) | const |
The pseudorapidity ( \(\eta\)).
| uint8_t xAOD::eFexTower_v1::fpga | ( | ) | const |
setter for the above
get fpga number
| uint32_t xAOD::eFexTower_v1::had_status | ( | ) | const |
setter for the above
get em status bit
| int32_t xAOD::eFexTower_v1::id | ( | ) | const |
setter for the above
get tower identifer which is assembled from the above data members Is in the form of a signed 7 digit number: +/- XXYYMMF +/- = a/c side XX is eta (from 1 to 25) YY is phi (from 00 to 63) MM is module (from 00 to 23, or 99 otherwise) F is fpga (from 0 to 3, or 9 otherwise)
Definition at line 69 of file eFexTower_v1.cxx.
getter for the etower simulation ID
initialize
Definition at line 47 of file eFexTower_v1.cxx.
| void xAOD::eFexTower_v1::initialize | ( | const float | Eta, |
| const float | Phi, | ||
| const std::vector< uint16_t > & | Et_count, | ||
| const uint8_t | Module, | ||
| const uint8_t | Fpga, | ||
| const uint32_t | Em_status, | ||
| const uint32_t | Had_status ) |
Definition at line 53 of file eFexTower_v1.cxx.
| uint8_t xAOD::eFexTower_v1::module | ( | ) | const |
setter for the above
get module number
| float xAOD::eFexTower_v1::phi | ( | ) | const |
setter for the above
The azimuthal angle ( \(\phi\))
| void xAOD::eFexTower_v1::setEm_status | ( | uint32_t | ) |
getter for the electromagnetic status bit
set em status bit
getter for the 11 energy counts
set Energy Counts
| void xAOD::eFexTower_v1::setEt_count | ( | std::vector< uint16_t > && | ) |
setter for the above
| void xAOD::eFexTower_v1::setEta | ( | float | ) |
getter for the global eta value (float)
| void xAOD::eFexTower_v1::setFpga | ( | uint8_t | ) |
getter for the fpga number [0-3] inclusive
set fpga number
| void xAOD::eFexTower_v1::setHad_status | ( | uint32_t | ) |
getter for hadronic status bit
set em status bit
| void xAOD::eFexTower_v1::setModule | ( | uint8_t | ) |
getter for the module number [0-23] inclusive
set module number
| void xAOD::eFexTower_v1::setPhi | ( | float | ) |
getter for the global phi value (float)
Definition at line 24 of file eFexTower_v1.h.