![]() |
ATLAS Offline Software
|
This class defines the reconstructed EnergySum ROI. More...
#include <RecEnergyRoI.h>
Public Member Functions | |
RecEnergyRoI () | |
RecEnergyRoI (unsigned int RoIWord0, unsigned int RoIWord1, unsigned int RoIWord2, const std::vector< TrigConf::TriggerThreshold * > *caloThresholds) | |
RecEnergyRoI (unsigned int RoIWord0, unsigned int RoIWord1, unsigned int RoIWord2, const TrigConf::L1Menu *const l1menu) | |
constructor using Run 3 configuration More... | |
~RecEnergyRoI () | |
RecEnergyRoI (const RecEnergyRoI &obj) | |
RecEnergyRoI & | operator= (const RecEnergyRoI &obj) |
void | construct (unsigned int RoIWord0, unsigned int RoIWord1, unsigned int RoIWord2, const std::vector< TrigConf::TriggerThreshold * > *caloThresholds) |
The "construct" call unpacks the RoIWord and copies information about the passed thresholds from the vector of TriggerThresholds into maps for later retrieval. More... | |
void | construct (const TrigConf::L1Menu *const l1menu) |
unsigned int | roiWord0 () const |
returns roi word 0. More... | |
unsigned int | roiWord1 () const |
returns roi word 1. More... | |
unsigned int | roiWord2 () const |
returns roi word 2. More... | |
bool | passedEtMissThreshold (unsigned int thresholdNumber) const |
returns TRUE if threshold number threshold_number has been passed by this ROI. More... | |
bool | passedSumEtThreshold (unsigned int thresholdNumber) const |
returns TRUE if threshold number threshold_number has been passed by this ROI. More... | |
bool | passedMEtSigThreshold (unsigned int thresholdNumber) const |
returns TRUE if threshold number threshold_number has been passed by this ROI. More... | |
std::vector< unsigned int > | etMissThresholdsPassed () const |
returns a vector of thresholds passed. More... | |
std::vector< unsigned int > | sumEtThresholdsPassed () const |
returns a vector of thresholds passed. More... | |
std::vector< unsigned int > | mEtSigThresholdsPassed () const |
returns a vector of thresholds passed. More... | |
unsigned int | etMissTriggerThreshold (const unsigned int thresh) const |
returns the value of the trigger threshold for the threshold passed. More... | |
unsigned int | sumEtTriggerThreshold (const unsigned int thresh) const |
returns the value of the trigger threshold for the threshold passed. More... | |
unsigned int | mEtSigTriggerThreshold (const unsigned int thresh) const |
returns the value of the trigger threshold for the threshold passed. More... | |
bool | isValidEtMissThreshold (const unsigned int thresh) const |
returns true if thresh is a valid EtMiss threshold number More... | |
bool | isValidSumEtThreshold (const unsigned int thresh) const |
returns true if thresh is a valid Sum Et threshold number More... | |
bool | isValidMEtSigThreshold (const unsigned int thresh) const |
returns true if thresh is a valid Sum Et threshold number More... | |
int | energyX () const |
returns the (signed) Ex energy projection. More... | |
bool | overflowX () const |
returns the Ex overflow bit More... | |
int | energyY () const |
returns the (signed) Ey energy projection. More... | |
bool | overflowY () const |
returns the Ey overflow bit More... | |
int | energyT () const |
returns the total ET. More... | |
bool | overflowT () const |
returns the ETsum overflow bit More... | |
Private Attributes | |
unsigned long int | m_roiWord0 { 0 } |
this is the actual format of the data sent from the LVL1 hardware. More... | |
unsigned long int | m_roiWord1 { 0 } |
this is the actual format of the data sent from the LVL1 hardware. More... | |
unsigned long int | m_roiWord2 { 0 } |
this is the actual format of the data sent from the LVL1 hardware. More... | |
std::map< int, unsigned int > | m_etMissThresholdValue |
std::map< int, unsigned int > | m_sumEtThresholdValue |
std::map< int, unsigned int > | m_mEtSigThresholdValue |
This class defines the reconstructed EnergySum ROI.
It is generated from the Slink output of TrigT1Calo
Definition at line 37 of file RecEnergyRoI.h.
|
inline |
Definition at line 41 of file RecEnergyRoI.h.
LVL1::RecEnergyRoI::RecEnergyRoI | ( | unsigned int | RoIWord0, |
unsigned int | RoIWord1, | ||
unsigned int | RoIWord2, | ||
const std::vector< TrigConf::TriggerThreshold * > * | caloThresholds | ||
) |
Definition at line 26 of file RecEnergyRoI.cxx.
LVL1::RecEnergyRoI::RecEnergyRoI | ( | unsigned int | RoIWord0, |
unsigned int | RoIWord1, | ||
unsigned int | RoIWord2, | ||
const TrigConf::L1Menu *const | l1menu | ||
) |
LVL1::RecEnergyRoI::~RecEnergyRoI | ( | ) |
Definition at line 68 of file RecEnergyRoI.cxx.
LVL1::RecEnergyRoI::RecEnergyRoI | ( | const RecEnergyRoI & | obj | ) |
Definition at line 43 of file RecEnergyRoI.cxx.
void LVL1::RecEnergyRoI::construct | ( | const TrigConf::L1Menu *const | l1menu | ) |
Definition at line 132 of file RecEnergyRoI.cxx.
void LVL1::RecEnergyRoI::construct | ( | unsigned int | RoIWord0, |
unsigned int | RoIWord1, | ||
unsigned int | RoIWord2, | ||
const std::vector< TrigConf::TriggerThreshold * > * | caloThresholds | ||
) |
The "construct" call unpacks the RoIWord and copies information about the passed thresholds from the vector of TriggerThresholds into maps for later retrieval.
One warning here: the methods of the RecRoI classes assume threshold numbering starts at 1, rather than 0 in the calorimeter trigger simulation and Lvl1ConfigSvc. There will be some tweaks in this code to make this work.
Definition at line 76 of file RecEnergyRoI.cxx.
int LVL1::RecEnergyRoI::energyT | ( | ) | const |
returns the total ET.
returns the (signed) Ex energy projection.
If the RoIWord looks invalid, then zero will be returned.
Definition at line 309 of file RecEnergyRoI.cxx.
int LVL1::RecEnergyRoI::energyX | ( | ) | const |
returns the (signed) Ex energy projection.
If the RoIWord looks invalid, then zero will be returned.
Definition at line 291 of file RecEnergyRoI.cxx.
int LVL1::RecEnergyRoI::energyY | ( | ) | const |
returns the (signed) Ey energy projection.
returns the (signed) Ex energy projection.
If the RoIWord looks invalid, then zero will be returned.
Definition at line 300 of file RecEnergyRoI.cxx.
vector< unsigned int > LVL1::RecEnergyRoI::etMissThresholdsPassed | ( | ) | const |
returns a vector of thresholds passed.
Definition at line 213 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::etMissTriggerThreshold | ( | const unsigned int | thresh | ) | const |
returns the value of the trigger threshold for the threshold passed.
The trigger threshold is also sometimes called the cluster threshold.
Definition at line 235 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::isValidEtMissThreshold | ( | const unsigned int | thresh | ) | const |
returns true if thresh is a valid EtMiss threshold number
returns true if thresh is a valid threshold number
Definition at line 269 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::isValidMEtSigThreshold | ( | const unsigned int | thresh | ) | const |
returns true if thresh is a valid Sum Et threshold number
returns true if thresh is a valid threshold number
Definition at line 283 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::isValidSumEtThreshold | ( | const unsigned int | thresh | ) | const |
returns true if thresh is a valid Sum Et threshold number
returns true if thresh is a valid threshold number
Definition at line 276 of file RecEnergyRoI.cxx.
vector< unsigned int > LVL1::RecEnergyRoI::mEtSigThresholdsPassed | ( | ) | const |
returns a vector of thresholds passed.
Definition at line 227 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::mEtSigTriggerThreshold | ( | const unsigned int | thresh | ) | const |
returns the value of the trigger threshold for the threshold passed.
The trigger threshold is also sometimes called the cluster threshold.
Definition at line 258 of file RecEnergyRoI.cxx.
LVL1::RecEnergyRoI & LVL1::RecEnergyRoI::operator= | ( | const RecEnergyRoI & | obj | ) |
Definition at line 55 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::overflowT | ( | ) | const |
returns the ETsum overflow bit
Definition at line 330 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::overflowX | ( | ) | const |
returns the Ex overflow bit
Definition at line 316 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::overflowY | ( | ) | const |
returns the Ey overflow bit
Definition at line 323 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::passedEtMissThreshold | ( | unsigned int | thresholdNumber | ) | const |
returns TRUE if threshold number threshold_number has been passed by this ROI.
returns TRUE if threshold number threshold_number has been pass ed by this ROI.
Definition at line 178 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::passedMEtSigThreshold | ( | unsigned int | thresholdNumber | ) | const |
returns TRUE if threshold number threshold_number has been passed by this ROI.
returns TRUE if threshold number threshold_number has been pass ed by this ROI.
Definition at line 202 of file RecEnergyRoI.cxx.
bool LVL1::RecEnergyRoI::passedSumEtThreshold | ( | unsigned int | thresholdNumber | ) | const |
returns TRUE if threshold number threshold_number has been passed by this ROI.
returns TRUE if threshold number threshold_number has been pass ed by this ROI.
Definition at line 190 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::roiWord0 | ( | ) | const |
returns roi word 0.
See ATL-DAQ-99-015 for further explanation.
Definition at line 161 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::roiWord1 | ( | ) | const |
returns roi word 1.
See ATL-DAQ-99-015 for further explanation.
Definition at line 166 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::roiWord2 | ( | ) | const |
returns roi word 2.
See ATL-DAQ-99-015 for further explanation.
Definition at line 171 of file RecEnergyRoI.cxx.
vector< unsigned int > LVL1::RecEnergyRoI::sumEtThresholdsPassed | ( | ) | const |
returns a vector of thresholds passed.
Definition at line 220 of file RecEnergyRoI.cxx.
unsigned int LVL1::RecEnergyRoI::sumEtTriggerThreshold | ( | const unsigned int | thresh | ) | const |
returns the value of the trigger threshold for the threshold passed.
The trigger threshold is also sometimes called the cluster threshold.
Definition at line 246 of file RecEnergyRoI.cxx.
|
private |
Definition at line 147 of file RecEnergyRoI.h.
|
private |
Definition at line 149 of file RecEnergyRoI.h.
|
private |
this is the actual format of the data sent from the LVL1 hardware.
See ATL-DAQ-99-015 for further explanation.
Definition at line 137 of file RecEnergyRoI.h.
|
private |
this is the actual format of the data sent from the LVL1 hardware.
See ATL-DAQ-99-015 for further explanation.
Definition at line 141 of file RecEnergyRoI.h.
|
private |
this is the actual format of the data sent from the LVL1 hardware.
See ATL-DAQ-99-015 for further explanation.
Definition at line 145 of file RecEnergyRoI.h.
|
private |
Definition at line 148 of file RecEnergyRoI.h.