ATLAS Offline Software
|
This class defines the em/tau hadron ROI which are generated by the LVL1 Calo Trigger. More...
#include <EmTauROI.h>
Public Member Functions | |
EmTauROI (double phi, double eta, int energy, unsigned long int roiWord, const std::vector< unsigned int > &algorithmType, unsigned int hadCoreEnergy, unsigned int hadRingIsolationEnergy, unsigned int emRingIsolationEnergy, unsigned int emClusterEnergy, unsigned int tauClusterEnergy) | |
~EmTauROI () | |
unsigned int | roiWord () const |
returns the 32bit ROI word. More... | |
bool | saturated () const |
returns TRUE if ROI constructed from a trigger tower that was saturated - in other words this ROI is signalling that it does not know its correct energy. More... | |
double | phi () const |
returns phi coord of ROI More... | |
double | eta () const |
returns eta coord of ROI More... | |
int | energy () const |
returns the energy of the ROI core, i.e. More... | |
bool | thresholdPassed (int thresh) const |
returns TRUE if threshold number threshold_number has been passed by this ROI. More... | |
TrigT1CaloDefs::ClusterAlgorithm | thresholdType (int thresh) const |
returns type of thresholds number threshold_number Thresholds numbered from 1 to TrigT1CaloDefs::numOfCPThresholds More... | |
unsigned int | emRingIsolationEnergy () const |
return energy More... | |
unsigned int | hadRingIsolationEnergy () const |
return energy More... | |
unsigned int | hadCoreEnergy () const |
return energy More... | |
unsigned int | clusterEnergy () const |
return energy More... | |
unsigned int | tauClusterEnergy () const |
Private Member Functions | |
void | checkValidThreshNum (unsigned int thresh) const |
checks that the passed threshold is a valid number More... | |
Private Attributes | |
double | m_phi |
phi coord of ROI More... | |
double | m_eta |
eta coord of ROI More... | |
int | m_energy |
Energy of ROI core, i.e. More... | |
unsigned long int | m_roiWord |
this is the actual format of the data sent from the LVL1 hardware. More... | |
std::vector< unsigned int > | m_algorithmType |
Contains the algo type of thresh sets. More... | |
unsigned int | m_emRingIsolationEnergy |
Used for debugging only! Not present to higher triggers in hardware. More... | |
unsigned int | m_hadRingIsolationEnergy |
Used for debugging only! Not present to higher triggers in hardware. More... | |
unsigned int | m_hadCoreEnergy |
Used for debugging only! Not present to higher triggers in hardware. More... | |
unsigned int | m_emClusterEnergy |
Used for debugging only! Not present to higher triggers in hardware. More... | |
unsigned int | m_tauClusterEnergy |
This class defines the em/tau hadron ROI which are generated by the LVL1 Calo Trigger.
It isn't the final RoI produced and passed to L2 - that happens in the ROD simulation, so this class has some extra methods used for debugging
Definition at line 40 of file EmTauROI.h.
LVL1::EmTauROI::EmTauROI | ( | double | phi, |
double | eta, | ||
int | energy, | ||
unsigned long int | roiWord, | ||
const std::vector< unsigned int > & | algorithmType, | ||
unsigned int | hadCoreEnergy, | ||
unsigned int | hadRingIsolationEnergy, | ||
unsigned int | emRingIsolationEnergy, | ||
unsigned int | emClusterEnergy, | ||
unsigned int | tauClusterEnergy | ||
) |
Definition at line 21 of file EmTauROI.cxx.
LVL1::EmTauROI::~EmTauROI | ( | ) |
Definition at line 37 of file EmTauROI.cxx.
|
inlineprivate |
checks that the passed threshold is a valid number
Definition at line 128 of file EmTauROI.h.
|
inline |
return energy
Definition at line 94 of file EmTauROI.h.
|
inline |
return energy
Definition at line 88 of file EmTauROI.h.
int LVL1::EmTauROI::energy | ( | ) | const |
returns the energy of the ROI core, i.e.
returns energy of ROI core
the summed (in both layers) energy of the central 4 TriggerTowers
Definition at line 93 of file EmTauROI.cxx.
double LVL1::EmTauROI::eta | ( | ) | const |
|
inline |
return energy
Definition at line 92 of file EmTauROI.h.
|
inline |
return energy
Definition at line 90 of file EmTauROI.h.
double LVL1::EmTauROI::phi | ( | ) | const |
unsigned int LVL1::EmTauROI::roiWord | ( | ) | const |
returns the 32bit ROI word.
This is defined in the ATLAS note daq-98-089.
This is defined in the ATLAS note daq-98-089.
Definition at line 42 of file EmTauROI.cxx.
bool LVL1::EmTauROI::saturated | ( | ) | const |
returns TRUE if ROI constructed from a trigger tower that was saturated - in other words this ROI is signalling that it does not know its correct energy.
Definition at line 102 of file EmTauROI.cxx.
|
inline |
Definition at line 95 of file EmTauROI.h.
bool LVL1::EmTauROI::thresholdPassed | ( | int | thresh | ) | const |
returns TRUE if threshold number threshold_number has been passed by this ROI.
returns TRUE if threshold number threshold_number has been passed by this ROI.
Thresholds numbered from 1 to TrigT1CaloDefs::numOfCPThresholds
Definition at line 49 of file EmTauROI.cxx.
TrigT1CaloDefs::ClusterAlgorithm LVL1::EmTauROI::thresholdType | ( | int | thresh | ) | const |
returns type of thresholds number threshold_number Thresholds numbered from 1 to TrigT1CaloDefs::numOfCPThresholds
returns type of thresholds number threshold_number.
Definition at line 59 of file EmTauROI.cxx.
|
private |
Contains the algo type of thresh sets.
This should really be in a database.
Definition at line 115 of file EmTauROI.h.
|
private |
Used for debugging only! Not present to higher triggers in hardware.
Definition at line 124 of file EmTauROI.h.
|
private |
Used for debugging only! Not present to higher triggers in hardware.
Definition at line 118 of file EmTauROI.h.
|
private |
Energy of ROI core, i.e.
the summed (both layers) energy of the central 4 TriggerTowers
Definition at line 107 of file EmTauROI.h.
|
private |
eta coord of ROI
Definition at line 103 of file EmTauROI.h.
|
private |
Used for debugging only! Not present to higher triggers in hardware.
Definition at line 122 of file EmTauROI.h.
|
private |
Used for debugging only! Not present to higher triggers in hardware.
Definition at line 120 of file EmTauROI.h.
|
private |
phi coord of ROI
Definition at line 100 of file EmTauROI.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 112 of file EmTauROI.h.
|
private |
Definition at line 125 of file EmTauROI.h.