ATLAS Offline Software
|
A version of the TriggerTower that contains information that would not be availiable during datataking. More...
#include <InternalTriggerTower.h>
Public Member Functions | |
InternalTriggerTower (double phi, double eta, int key) | |
InternalTriggerTower () | |
virtual | ~InternalTriggerTower () |
double | eta () const |
returns eta coord More... | |
double | phi () const |
returns phi coord of tower More... | |
Coordinate | coord () const |
returns coordinate of tower More... | |
const std::vector< double > & | EmAmps () const |
returns reference to the vector containing the em amplitudes More... | |
const std::vector< double > & | HadAmps () const |
returns reference to the vector containing the had amplitudes More... | |
const std::vector< int > & | EmADC () const |
returns reference to the vector containing the em digits More... | |
const std::vector< int > & | HadADC () const |
returns reference to the vector containing the had digits More... | |
void | addEMAmps (std::vector< double > &energy) |
Methods to fill towers with analogue amplitudes. More... | |
void | addHadAmps (std::vector< double > &energy) |
void | addEMPeak (double energy) |
Methods to add energy to peak sample of tower (used for CaloCell input) More... | |
void | addHadPeak (double energy) |
void | addEMADC (std::vector< int > &adc) |
Methods to fill towers with digitised amplitudes. More... | |
void | addHadADC (std::vector< int > &adc) |
unsigned int | key () const |
returns TT key - that is the key the TT had when it was created. More... | |
Private Attributes | |
double | m_phi |
Internal data. More... | |
double | m_eta |
unsigned int | m_key |
std::vector< double > | m_EmAmps |
std::vector< double > | m_HadAmps |
std::vector< int > | m_EmADC |
std::vector< int > | m_HadADC |
A version of the TriggerTower that contains information that would not be availiable during datataking.
Only use is in TriggerTowerMaker, to allow building of TriggerTowers from different types of input data. External users should use TriggerTower to access tower information.
Definition at line 31 of file InternalTriggerTower.h.
LVL1::InternalTriggerTower::InternalTriggerTower | ( | double | phi, |
double | eta, | ||
int | key | ||
) |
LVL1::InternalTriggerTower::InternalTriggerTower | ( | ) |
|
virtual |
Definition at line 44 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addEMADC | ( | std::vector< int > & | adc | ) |
Methods to fill towers with digitised amplitudes.
Methods for filling digit vectors.
Definition at line 75 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addEMAmps | ( | std::vector< double > & | energy | ) |
Methods to fill towers with analogue amplitudes.
Methods for filling amplitude vectors.
Definition at line 65 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addEMPeak | ( | double | energy | ) |
Methods to add energy to peak sample of tower (used for CaloCell input)
Methods for adding ET to central sample of pulse.
Intended for use with inputs without pulse shape (CaloCell, etc)
Definition at line 86 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addHadADC | ( | std::vector< int > & | adc | ) |
Definition at line 79 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addHadAmps | ( | std::vector< double > & | energy | ) |
Definition at line 69 of file InternalTriggerTower.cxx.
void LVL1::InternalTriggerTower::addHadPeak | ( | double | energy | ) |
Definition at line 91 of file InternalTriggerTower.cxx.
LVL1::Coordinate LVL1::InternalTriggerTower::coord | ( | ) | const |
returns coordinate of tower
returns coordinate of TT
Definition at line 96 of file InternalTriggerTower.cxx.
const std::vector< int > & LVL1::InternalTriggerTower::EmADC | ( | ) | const |
returns reference to the vector containing the em digits
returns em digits
Definition at line 56 of file InternalTriggerTower.cxx.
const std::vector< double > & LVL1::InternalTriggerTower::EmAmps | ( | ) | const |
returns reference to the vector containing the em amplitudes
returns em amplitudes
Definition at line 48 of file InternalTriggerTower.cxx.
|
inline |
const std::vector< int > & LVL1::InternalTriggerTower::HadADC | ( | ) | const |
returns reference to the vector containing the had digits
returns had digits
Definition at line 60 of file InternalTriggerTower.cxx.
const std::vector< double > & LVL1::InternalTriggerTower::HadAmps | ( | ) | const |
returns reference to the vector containing the had amplitudes
returns had amplitudes
Definition at line 52 of file InternalTriggerTower.cxx.
|
inline |
returns TT key - that is the key the TT had when it was created.
Added for bug-testing.
Definition at line 75 of file InternalTriggerTower.h.
|
inline |
|
private |
Definition at line 84 of file InternalTriggerTower.h.
|
private |
Definition at line 82 of file InternalTriggerTower.h.
|
private |
Definition at line 80 of file InternalTriggerTower.h.
|
private |
Definition at line 85 of file InternalTriggerTower.h.
|
private |
Definition at line 83 of file InternalTriggerTower.h.
|
private |
Definition at line 81 of file InternalTriggerTower.h.
|
private |
Internal data.
Definition at line 79 of file InternalTriggerTower.h.