55 const std::vector<int>& em_digits,
56 const std::vector<int>& em_et,
57 const std::vector<int>& em_digits_bcid,
58 const std::vector<int>& em_bcid,
59 int em_error,
int em_peak,
int em_adc_peak,
60 const std::vector<int>& had_digits,
61 const std::vector<int>& had_et,
62 const std::vector<int>& had_digits_bcid,
63 const std::vector<int>& had_bcid,
64 int had_error,
int had_peak,
int had_adc_peak);
68 void addEM(
const std::vector<int>& digits,
const std::vector<int>&
et,
69 const std::vector<int>& digits_bcid,
const std::vector<int>& bcid,
70 int error,
int peak,
int adc_peak);
71 void addHad(
const std::vector<int>& digits,
const std::vector<int>&
et,
72 const std::vector<int>& digits_bcid,
const std::vector<int>& bcid,
73 int error,
int peak,
int adc_peak);
85 const std::vector<int> &
emLUT()
const;
86 const std::vector<int> &
hadLUT()
const;
89 const std::vector<int> &
emADC()
const;
90 const std::vector<int> &
hadADC()
const;
118 const std::vector<int> &
emBCIDvec()
const;
120 const std::vector<int> &
emBCIDext()
const;
150#ifndef TriggerTower_ClassDEF_H
macros to associate a CLID to a type
An STL vector of pointers that by default owns its pointed-to elements.
Coordinate class declaration.
unsigned int key() const
returns TT key - that is the key the TT had when it was created.
std::vector< int > m_had_BCID
std::vector< int > m_em_extBCID
const std::vector< int > & emBCIDext() const
returns vector of BCID words for all EM ADC samples
std::vector< int > m_em_energy
Internal data.
int hadBCID() const
returns BCID word for peak had sample
void setCoord(double eta, double phi)
Methods to specify location of tower.
TriggerTower(double phi, double eta, unsigned int key)
TriggerTower()=default
Constructors.
const std::vector< int > & emLUT() const
return references to the vectors containing the final calubrated ET values.
double phi() const
returns phi coord of tower
static const int m_saturation
std::vector< int > m_had_energy
const std::vector< int > & emBCIDvec() const
returns vector of BCID words for all EM LUT samples
void addHad(const std::vector< int > &digits, const std::vector< int > &et, const std::vector< int > &digits_bcid, const std::vector< int > &bcid, int error, int peak, int adc_peak)
Method for filling Had tower data.
const std::vector< int > & hadBCIDvec() const
returns vector of BCID words for all Had LUT samples
int emEnergy() const
return the final energy values using the in algorithms
double eta() const
returns eta coord
int emPeak() const
return peak positions in LUT and ADC vectors
int emBCID() const
returns BCID word for peak EM sample
std::vector< int > m_em_adc
Coordinate coord() const
returns coordinate of TT
std::vector< int > m_had_adc
const std::vector< int > & hadADC() const
returns had adc digits
void setKey(unsigned int key)
Method to set or update key.
TriggerTower(double phi, double eta, unsigned int key, const std::vector< int > &em_digits, const std::vector< int > &em_et, const std::vector< int > &em_digits_bcid, const std::vector< int > &em_bcid, int em_error, int em_peak, int em_adc_peak, const std::vector< int > &had_digits, const std::vector< int > &had_et, const std::vector< int > &had_digits_bcid, const std::vector< int > &had_bcid, int had_error, int had_peak, int had_adc_peak)
const std::vector< int > & emADC() const
return references to the vectors containing the ADC digits
bool isHadSaturated() const
returns TRUE or FALSE depending on whether the TriggerTower's hadronic energy is greater than it's ha...
const std::vector< int > & hadLUT() const
returns had LUT ET
bool isEMSaturated() const
Utilities to report on status of tower.
const std::vector< int > & hadBCIDext() const
returns vector of BCID words for all Had ADC samples
void addEM(const std::vector< int > &digits, const std::vector< int > &et, const std::vector< int > &digits_bcid, const std::vector< int > &bcid, int error, int peak, int adc_peak)
Methods to fill towers with digits, calibrated ET vectors and status flags.
std::vector< int > m_had_extBCID
std::vector< int > m_em_BCID
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
std::map< int, const TriggerTower * > TriggerTowerMap_t
Extra patterns decribing particle interation process.