![]() |
ATLAS Offline Software
|
Class describing a LVL1 energy-sum "RoI". More...
#include <EnergySumRoI_v2.h>
Public Member Functions | |
| EnergySumRoI_v2 () | |
| Default constructor. | |
| void | initialize (uint32_t roiword0, uint32_t roiword1, uint32_t roiword2, float energyX, float energyY, float energyT) |
| Initialise the object with its most important properties from a single RoI. | |
RoI word accessor functions | |
| void | setRoIWord (uint32_t value) |
| Generic RoI word adding: the function will identify which word it is. | |
| uint32_t | roiWord0 () const |
| The first RoI word produced by the L1Calo hardware. | |
| void | setRoIWord0 (uint32_t value) |
| Set the first "raw" RoI word describing the energy-sum RoI. | |
| uint32_t | roiWord1 () const |
| The second RoI word produced by the L1Calo hardware. | |
| void | setRoIWord1 (uint32_t value) |
| Set the second "raw" RoI word describing the energy-sum RoI. | |
| uint32_t | roiWord2 () const |
| The third RoI word produced by the L1Calo hardware. | |
| void | setRoIWord2 (uint32_t value) |
| Set the third "raw" RoI word describing the energy-sum RoI. | |
| uint32_t | roiWord3 () const |
| The fourth RoI word produced by the L1Calo hardware. | |
| void | setRoIWord3 (uint32_t value) |
| Set the first "raw" RoI word describing the energy-sum RoI. | |
| uint32_t | roiWord4 () const |
| The fifth RoI word produced by the L1Calo hardware. | |
| void | setRoIWord4 (uint32_t value) |
| Set the second "raw" RoI word describing the energy-sum RoI. | |
| uint32_t | roiWord5 () const |
| The sixth RoI word produced by the L1Calo hardware. | |
| void | setRoIWord5 (uint32_t value) |
| Set the third "raw" RoI word describing the energy-sum RoI. | |
Helper functions accessing the threshold patterns | |
| uint32_t | thrPatSumET (bool restricted=false) const |
| The bit-pattern describing the passed sum-ET thresholds. | |
| uint32_t | thrPatMET (bool restricted=false) const |
| The bit-pattern describing the passed missing-ET thresholds. | |
| uint32_t | thrPatMETSig () const |
| The bit-pattern describing the passed missing-ET significance thresholds. | |
Helper functions accessing the overflow bits | |
| bool | overflowX (bool restricted=false) const |
| The overflow flag for the EX calculation. | |
| bool | overflowY (bool restricted=false) const |
| The overflow flag for the EY calculation. | |
| bool | overflowT (bool restricted=false) const |
| The overflow flag for the ET calculation. | |
Thresholds passed by the event | |
| void | addThreshold (const std::string &name) |
| Add a new threshold that was passed. | |
| void | clearThresholds () |
| Remove all the passed thresholds. | |
| const std::vector< std::string > & | thrNames () const |
| The names of the thresholds passed. | |
Missing E<sub>T</sub> values | |
| float | energyX () const |
| The total energy deposited in the X direction. | |
| float | energyXRestricted () const |
| void | setEnergyX (float value) |
| Set the total energy deposited in the X direction. | |
| void | setEnergyXRestricted (float value) |
| float | exMiss () const |
| The missing energy in the X direction. | |
| float | exMissRestricted () const |
| float | energyY () const |
| The total energy deposited in the Y direction. | |
| float | energyYRestricted () const |
| void | setEnergyY (float value) |
| Set the total energy deposited in the Y direction. | |
| void | setEnergyYRestricted (float value) |
| float | eyMiss () const |
| The missing energy in the Y direction. | |
| float | eyMissRestricted () const |
| float | energyT () const |
| The deposited total transverse energy. | |
| float | energyTRestricted () const |
| void | setEnergyT (float value) |
| Set the deposited total transverse energy. | |
| void | setEnergyTRestricted (float value) |
Static Private Attributes | |
| static const unsigned int | s_Run2TruncRoIBit = 0x4000000 |
| The basic setters and getters for the xAOD class. | |
| static const unsigned int | s_RoIType = 0xf0000000 |
| static const unsigned int | s_Word0 = 0x40000000 |
| static const unsigned int | s_Word1 = 0x60000000 |
| static const unsigned int | s_Word2 = 0x50000000 |
Class describing a LVL1 energy-sum "RoI".
This class describes the properties of the LVL1 energy-sum calculation in the xAOD format.
Definition at line 35 of file EnergySumRoI_v2.h.
| xAOD::EnergySumRoI_v2::EnergySumRoI_v2 | ( | ) |
Default constructor.
Definition at line 14 of file EnergySumRoI_v2.cxx.
| void xAOD::EnergySumRoI_v2::addThreshold | ( | const std::string & | name | ) |
Add a new threshold that was passed.
Definition at line 157 of file EnergySumRoI_v2.cxx.
| void xAOD::EnergySumRoI_v2::clearThresholds | ( | ) |
Remove all the passed thresholds.
Definition at line 163 of file EnergySumRoI_v2.cxx.
| float xAOD::EnergySumRoI_v2::energyT | ( | ) | const |
The deposited total transverse energy.
| float xAOD::EnergySumRoI_v2::energyTRestricted | ( | ) | const |
| float xAOD::EnergySumRoI_v2::energyX | ( | ) | const |
The total energy deposited in the X direction.
| float xAOD::EnergySumRoI_v2::energyXRestricted | ( | ) | const |
| float xAOD::EnergySumRoI_v2::energyY | ( | ) | const |
The total energy deposited in the Y direction.
| float xAOD::EnergySumRoI_v2::energyYRestricted | ( | ) | const |
|
inline |
|
inline |
Definition at line 132 of file EnergySumRoI_v2.h.
|
inline |
|
inline |
Definition at line 142 of file EnergySumRoI_v2.h.
| void xAOD::EnergySumRoI_v2::initialize | ( | uint32_t | roiword0, |
| uint32_t | roiword1, | ||
| uint32_t | roiword2, | ||
| float | energyX, | ||
| float | energyY, | ||
| float | energyT ) |
Initialise the object with its most important properties from a single RoI.
| roiword0 | The first RoI word produced by the L1Calo hardware |
| roiword1 | The second RoI word produced by the L1Calo hardware |
| roiword2 | The third RoI word produced by the L1Calo hardware |
| energyX | The total energy deposited in the X direction |
| energyY | The total energy deposited in the Y direction |
| energyT | The total transverse energy deposited |
Definition at line 25 of file EnergySumRoI_v2.cxx.
The overflow flag for the ET calculation.
Definition at line 139 of file EnergySumRoI_v2.cxx.
The overflow flag for the EX calculation.
Definition at line 127 of file EnergySumRoI_v2.cxx.
The overflow flag for the EY calculation.
Definition at line 133 of file EnergySumRoI_v2.cxx.
| uint32_t xAOD::EnergySumRoI_v2::roiWord0 | ( | ) | const |
The first RoI word produced by the L1Calo hardware.
| uint32_t xAOD::EnergySumRoI_v2::roiWord1 | ( | ) | const |
The second RoI word produced by the L1Calo hardware.
| uint32_t xAOD::EnergySumRoI_v2::roiWord2 | ( | ) | const |
The third RoI word produced by the L1Calo hardware.
| uint32_t xAOD::EnergySumRoI_v2::roiWord3 | ( | ) | const |
The fourth RoI word produced by the L1Calo hardware.
| uint32_t xAOD::EnergySumRoI_v2::roiWord4 | ( | ) | const |
The fifth RoI word produced by the L1Calo hardware.
| uint32_t xAOD::EnergySumRoI_v2::roiWord5 | ( | ) | const |
The sixth RoI word produced by the L1Calo hardware.
| void xAOD::EnergySumRoI_v2::setEnergyTRestricted | ( | float | value | ) |
| void xAOD::EnergySumRoI_v2::setEnergyX | ( | float | value | ) |
Set the total energy deposited in the X direction.
| void xAOD::EnergySumRoI_v2::setEnergyXRestricted | ( | float | value | ) |
| void xAOD::EnergySumRoI_v2::setEnergyY | ( | float | value | ) |
Set the total energy deposited in the Y direction.
| void xAOD::EnergySumRoI_v2::setEnergyYRestricted | ( | float | value | ) |
| void xAOD::EnergySumRoI_v2::setRoIWord | ( | uint32_t | value | ) |
Generic RoI word adding: the function will identify which word it is.
Update RoI word value. The function works out for itself which word input is.
Definition at line 54 of file EnergySumRoI_v2.cxx.
| void xAOD::EnergySumRoI_v2::setRoIWord0 | ( | uint32_t | value | ) |
Set the first "raw" RoI word describing the energy-sum RoI.
| void xAOD::EnergySumRoI_v2::setRoIWord1 | ( | uint32_t | value | ) |
Set the second "raw" RoI word describing the energy-sum RoI.
| void xAOD::EnergySumRoI_v2::setRoIWord2 | ( | uint32_t | value | ) |
Set the third "raw" RoI word describing the energy-sum RoI.
| void xAOD::EnergySumRoI_v2::setRoIWord3 | ( | uint32_t | value | ) |
Set the first "raw" RoI word describing the energy-sum RoI.
| void xAOD::EnergySumRoI_v2::setRoIWord4 | ( | uint32_t | value | ) |
Set the second "raw" RoI word describing the energy-sum RoI.
| void xAOD::EnergySumRoI_v2::setRoIWord5 | ( | uint32_t | value | ) |
Set the third "raw" RoI word describing the energy-sum RoI.
| const std::vector< std::string > & xAOD::EnergySumRoI_v2::thrNames | ( | ) | const |
The names of the thresholds passed.
Definition at line 169 of file EnergySumRoI_v2.cxx.
The bit-pattern describing the passed missing-ET thresholds.
Definition at line 108 of file EnergySumRoI_v2.cxx.
| uint32_t xAOD::EnergySumRoI_v2::thrPatMETSig | ( | ) | const |
The bit-pattern describing the passed missing-ET significance thresholds.
Definition at line 114 of file EnergySumRoI_v2.cxx.
| setRoIWord1 setRoIWord3 setRoIWord5 uint32_t xAOD::EnergySumRoI_v2::thrPatSumET | ( | bool | restricted = false | ) | const |
The bit-pattern describing the passed sum-ET thresholds.
Definition at line 102 of file EnergySumRoI_v2.cxx.
Definition at line 157 of file EnergySumRoI_v2.h.
The basic setters and getters for the xAOD class.
Definition at line 156 of file EnergySumRoI_v2.h.
Definition at line 158 of file EnergySumRoI_v2.h.
Definition at line 159 of file EnergySumRoI_v2.h.
Definition at line 160 of file EnergySumRoI_v2.h.