![]() |
ATLAS Offline Software
|
The CPMTower class contains the TriggerTower information received by the Cluster Processor Modules. More...
#include <CPMTower.h>
Public Member Functions | |
CPMTower () | |
Constructors. More... | |
CPMTower (double phi, double eta) | |
CPMTower (double phi, double eta, const std::vector< int > &em_et, const std::vector< int > &em_error, const std::vector< int > &had_et, const std::vector< int > &had_error, int peak) | |
void | fill (const std::vector< int > &em_et, const std::vector< int > &em_error, const std::vector< int > &had_et, const std::vector< int > &had_error, int peak) |
Methods to fill towers with digits, calibrated ET vectors and status flags. More... | |
int | emEnergy () const |
return the final ET values using the in algorithms More... | |
int | hadEnergy () const |
int | emSliceEnergy (int slice) const |
return the ET values for a specified slice More... | |
int | hadSliceEnergy (int slice) const |
const std::vector< int > & | emEnergyVec () const |
return references to the vectors containing the ET values. More... | |
const std::vector< int > & | hadEnergyVec () const |
double | eta () const |
returns eta coord More... | |
double | phi () const |
returns phi coord of tower More... | |
Coordinate | coord () const |
returns coordinate of TT More... | |
int | peak () const |
return peak positions in ET and error vectors More... | |
int | emError () const |
Utilities to report on status of tower. More... | |
int | hadError () const |
int | emSliceError (int slice) const |
Methods to return error words for specified slice. More... | |
int | hadSliceError (int slice) const |
const std::vector< int > & | emErrorVec () const |
const std::vector< int > & | hadErrorVec () const |
Private Attributes | |
std::vector< int > | m_em_energy {0} |
Internal data. More... | |
std::vector< int > | m_had_energy {0} |
std::vector< int > | m_em_error {0} |
std::vector< int > | m_had_error {0} |
double | m_phi {} |
double | m_eta {} |
int | m_peak {} |
The CPMTower class contains the TriggerTower information received by the Cluster Processor Modules.
This is a subset of the information in the TriggerTower class, which represents the data produced by the PreProcessor. In particular, it only contains the final (LUT) ET, and not the ADC data, and only for towers used by the Cluster Processor.
The main purpose of the CPMTower class is to allow unpacking and analysis of the tower data from the CPM readout.
Definition at line 36 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
LVL1::CPMTower::CPMTower | ( | ) |
Constructors.
LVL1::CPMTower::CPMTower | ( | double | phi, |
double | eta | ||
) |
LVL1::CPMTower::CPMTower | ( | double | phi, |
double | eta, | ||
const std::vector< int > & | em_et, | ||
const std::vector< int > & | em_error, | ||
const std::vector< int > & | had_et, | ||
const std::vector< int > & | had_error, | ||
int | peak | ||
) |
LVL1::Coordinate LVL1::CPMTower::coord | ( | ) | const |
returns coordinate of TT
Definition at line 89 of file CPMTower.cxx.
|
inline |
return the final ET values using the in algorithms
Definition at line 59 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
return references to the vectors containing the ET values.
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
Utilities to report on status of tower.
Definition at line 83 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
Definition at line 87 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
int LVL1::CPMTower::emSliceEnergy | ( | int | slice | ) | const |
return the ET values for a specified slice
Methods to return ET in specified slice.
Return 0 if slice is out of range
Definition at line 72 of file CPMTower.cxx.
int LVL1::CPMTower::emSliceError | ( | int | slice | ) | const |
Methods to return error words for specified slice.
Return 0 if slice is out of range
Definition at line 82 of file CPMTower.cxx.
|
inline |
returns eta coord
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
void LVL1::CPMTower::fill | ( | const std::vector< int > & | em_et, |
const std::vector< int > & | em_error, | ||
const std::vector< int > & | had_et, | ||
const std::vector< int > & | had_error, | ||
int | peak | ||
) |
Methods to fill towers with digits, calibrated ET vectors and status flags.
Method for filling tower data.
Definition at line 57 of file CPMTower.cxx.
|
inline |
Definition at line 60 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
Definition at line 84 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
Definition at line 88 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
int LVL1::CPMTower::hadSliceEnergy | ( | int | slice | ) | const |
Definition at line 76 of file CPMTower.cxx.
int LVL1::CPMTower::hadSliceError | ( | int | slice | ) | const |
Definition at line 86 of file CPMTower.cxx.
|
inline |
return peak positions in ET and error vectors
Definition at line 80 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
inline |
returns phi coord of tower
Definition at line 74 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Internal data.
Definition at line 92 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 94 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 97 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 93 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 95 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 98 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.
|
private |
Definition at line 96 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h.