![]() |
ATLAS Offline Software
|
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format. More...
#include <gFexJetRoI_v1.h>
Public Types | |
| enum | ObjectType { gRho = 0 , gBlockLead = 1 , gBlockSub = 2 , gJet = 3 } |
| Object types. More... | |
Public Member Functions | |
| gFexJetRoI_v1 () | |
| Default constructor. | |
| void | initialize (uint32_t word, int tobEtScale) |
| Initialise the object with its most important properties: only the word for gFEX. | |
| uint32_t | word () const |
| The "raw" 32-bit word describing the object candidate. | |
| void | setWord (uint32_t value) |
| Set the "raw" 32-bit words describing the object candidate. | |
| int | menuEta () const |
| the eta index to use for looking up thresholds in the menu | |
| int | tobEtScale () const |
| void | setScale (int value) |
| Set the "raw" 32-bit words describing the object candidate. | |
| int16_t | gFexTobEt () const |
| TOB ET (decoded from TOB, stored for convenience). | |
| void | setTobEt (int16_t value) |
| getter for integer ET on TOB scale (3.2 GeV/count) | |
| int16_t | unpackEt () const |
| setter for the above | |
| float | et () const |
| retrieves the Et index from the 32-bit word | |
| uint8_t | iEta () const |
| floating point value (GeV, TOB scale) | |
| void | setEta (uint8_t value) |
| getter for integer eta index (0-63) | |
| unsigned int | unpackEtaIndex () const |
| setter for the above | |
| float | eta () const |
| retrieves the Eta index from the 32-bit word | |
| float | etaMin () const |
| Floating point. | |
| float | etaMax () const |
| Floating point. | |
| uint8_t | iPhi () const |
| Floating point. | |
| void | setPhi (uint8_t value) |
| Getter for integer phi index (0-32) --> check numbers for gFEX. | |
| unsigned int | unpackPhiIndex () const |
| Setter for the above. | |
| float | phi_gFex () const |
| retrieves the phi index from the 32-bit word | |
| float | phiMin_gFex () const |
| Central value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]). | |
| float | phiMax_gFex () const |
| Low value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]). | |
| float | phi () const |
| High value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]). | |
| float | phiMin () const |
| Central value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]). | |
| float | phiMax () const |
| Low value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]). | |
| int | iPhiTopo () const |
| High value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]). | |
| uint8_t | status () const |
| phi index in the range used by L1Topo (0->127) | |
| void | setStatus (uint8_t value) |
| unsigned int | unpackStatus () const |
| uint8_t | saturated () const |
| retrieves the Status info from the 32-bit word | |
| void | setSaturated (uint8_t value) |
| unsigned int | unpackSaturated () const |
| int | gFexType () const |
| retrieves the Saturated info from the 32-bit word | |
| void | setgFexType (int type) |
| int | unpackType () const |
| bool | isgBlockLead () const |
| Identification of object type with flags. | |
| bool | isgBlockSub () const |
| bool | isgJet () const |
| bool | isgRho () const |
Static Private Attributes | |
| static const float | s_PhiWidth = (2*pi)/32 |
| Constants used in converting to ATLAS units. | |
| static const float | s_PhiWidthFR = (2*pi)/16 |
| static const std::vector< float > | s_EtaEdge |
| static const std::vector< float > | s_EtaCenter |
| static const int | s_saturBit = 31 |
| Constants used in decoding TOB words For TOB word format changes these can be replaced by arrays in the _v2 object so that different versions can be decoded by one class. | |
| static const int | s_phiBit = 26 |
| static const int | s_etaBit = 20 |
| static const int | s_etBit = 8 |
| static const int | s_statusBit = 7 |
| static const int | s_resBit = 5 |
| static const int | s_tobIDBit = 0 |
| static const int | s_saturMask = 0x1 |
| static const int | s_phiMask = 0x1f |
| static const int | s_etaMask = 0x3f |
| static const int | s_etMask = 0xfff |
| static const int | s_statusMask = 0x1 |
| static const int | s_resMask = 0x3 |
| static const int | s_tobIDMask = 0x1f |
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format.
Definition at line 25 of file gFexJetRoI_v1.h.
Object types.
| Enumerator | |
|---|---|
| gRho | |
| gBlockLead | This object is a TOB (32 bit word). |
| gBlockSub | This object is a TOB (32 bit word). |
| gJet | This object is a TOB (32 bit word). This object is a TOB (32 bit word) |
Definition at line 35 of file gFexJetRoI_v1.h.
| xAOD::gFexJetRoI_v1::gFexJetRoI_v1 | ( | ) |
Default constructor.
Definition at line 38 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::et | ( | ) | const |
retrieves the Et index from the 32-bit word
Definition at line 160 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::eta | ( | ) | const |
retrieves the Eta index from the 32-bit word
Definition at line 167 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::etaMax | ( | ) | const |
Floating point.
Definition at line 222 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::etaMin | ( | ) | const |
Floating point.
Floating point coordinates. Return he minimum Eta and he maximum Eta of the Eta range.
Definition at line 195 of file gFexJetRoI_v1.cxx.
| int16_t xAOD::gFexJetRoI_v1::gFexTobEt | ( | ) | const |
TOB ET (decoded from TOB, stored for convenience).
| int xAOD::gFexJetRoI_v1::gFexType | ( | ) | const |
retrieves the Saturated info from the 32-bit word
| uint8_t xAOD::gFexJetRoI_v1::iEta | ( | ) | const |
floating point value (GeV, TOB scale)
Eta Coordinates (decoded from TOB, stored for convenience)
Initialise the object with its most important properties: only the word for gFEX.
Definition at line 43 of file gFexJetRoI_v1.cxx.
| uint8_t xAOD::gFexJetRoI_v1::iPhi | ( | ) | const |
Floating point.
Phi coordinates
| int xAOD::gFexJetRoI_v1::iPhiTopo | ( | ) | const |
High value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]).
Definition at line 332 of file gFexJetRoI_v1.cxx.
| bool xAOD::gFexJetRoI_v1::isgBlockLead | ( | ) | const |
Identification of object type with flags.
Definition at line 114 of file gFexJetRoI_v1.cxx.
| bool xAOD::gFexJetRoI_v1::isgBlockSub | ( | ) | const |
Definition at line 118 of file gFexJetRoI_v1.cxx.
| bool xAOD::gFexJetRoI_v1::isgJet | ( | ) | const |
Definition at line 122 of file gFexJetRoI_v1.cxx.
| bool xAOD::gFexJetRoI_v1::isgRho | ( | ) | const |
Definition at line 126 of file gFexJetRoI_v1.cxx.
| int xAOD::gFexJetRoI_v1::menuEta | ( | ) | const |
the eta index to use for looking up thresholds in the menu
Definition at line 56 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phi | ( | ) | const |
High value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]).
Definition at line 300 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phi_gFex | ( | ) | const |
retrieves the phi index from the 32-bit word
Definition at line 254 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phiMax | ( | ) | const |
Low value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]).
Definition at line 311 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phiMax_gFex | ( | ) | const |
Low value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]).
Definition at line 290 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phiMin | ( | ) | const |
Central value of phi corresponding to phi index (using ATLAS convention, phi in [-pi, pi]).
Definition at line 322 of file gFexJetRoI_v1.cxx.
| float xAOD::gFexJetRoI_v1::phiMin_gFex | ( | ) | const |
Central value of phi corresponding to phi index (using gFex convention, phi in [0, 2pi]).
Definition at line 280 of file gFexJetRoI_v1.cxx.
| uint8_t xAOD::gFexJetRoI_v1::saturated | ( | ) | const |
retrieves the Status info from the 32-bit word
Energy saturation: if any gTower is saturated within gBlock and gJet, this bit is set. Always 0 for Rho.
| void xAOD::gFexJetRoI_v1::setEta | ( | uint8_t | value | ) |
getter for integer eta index (0-63)
| void xAOD::gFexJetRoI_v1::setgFexType | ( | int | type | ) |
| void xAOD::gFexJetRoI_v1::setPhi | ( | uint8_t | value | ) |
Getter for integer phi index (0-32) --> check numbers for gFEX.
| void xAOD::gFexJetRoI_v1::setSaturated | ( | uint8_t | value | ) |
| void xAOD::gFexJetRoI_v1::setScale | ( | int | value | ) |
Set the "raw" 32-bit words describing the object candidate.
| void xAOD::gFexJetRoI_v1::setStatus | ( | uint8_t | value | ) |
| void xAOD::gFexJetRoI_v1::setTobEt | ( | int16_t | value | ) |
getter for integer ET on TOB scale (3.2 GeV/count)
| void xAOD::gFexJetRoI_v1::setWord | ( | uint32_t | value | ) |
Set the "raw" 32-bit words describing the object candidate.
| uint8_t xAOD::gFexJetRoI_v1::status | ( | ) | const |
phi index in the range used by L1Topo (0->127)
TOB status: set to 1 if TOB Et exceeds TOB threshold (gBlocks & gJets). Status is set to 1 if Rho calculation is valid
| int xAOD::gFexJetRoI_v1::tobEtScale | ( | ) | const |
| int16_t xAOD::gFexJetRoI_v1::unpackEt | ( | ) | const |
setter for the above
Definition at line 141 of file gFexJetRoI_v1.cxx.
Definition at line 135 of file gFexJetRoI_v1.cxx.
Definition at line 131 of file gFexJetRoI_v1.cxx.
| int xAOD::gFexJetRoI_v1::unpackType | ( | ) | const |
Definition at line 97 of file gFexJetRoI_v1.cxx.
| uint32_t xAOD::gFexJetRoI_v1::word | ( | ) | const |
The "raw" 32-bit word describing the object candidate.
Definition at line 125 of file gFexJetRoI_v1.h.
Definition at line 114 of file gFexJetRoI_v1.h.
Definition at line 113 of file gFexJetRoI_v1.h.
Definition at line 134 of file gFexJetRoI_v1.h.
Definition at line 126 of file gFexJetRoI_v1.h.
Definition at line 135 of file gFexJetRoI_v1.h.
Definition at line 124 of file gFexJetRoI_v1.h.
Definition at line 133 of file gFexJetRoI_v1.h.
Constants used in converting to ATLAS units.
Definition at line 111 of file gFexJetRoI_v1.h.
Definition at line 112 of file gFexJetRoI_v1.h.
Definition at line 128 of file gFexJetRoI_v1.h.
Definition at line 137 of file gFexJetRoI_v1.h.
Constants used in decoding TOB words For TOB word format changes these can be replaced by arrays in the _v2 object so that different versions can be decoded by one class.
Definition at line 123 of file gFexJetRoI_v1.h.
Definition at line 132 of file gFexJetRoI_v1.h.
Definition at line 127 of file gFexJetRoI_v1.h.
Definition at line 136 of file gFexJetRoI_v1.h.
Definition at line 129 of file gFexJetRoI_v1.h.
Definition at line 138 of file gFexJetRoI_v1.h.