17#include "Identifier/Identifier.h"
42 jTower(
int ieta,
int iphi,
int towerid,
int posneg,
float centre_eta = -1.0,
float centre_phi = -1.0,
int fcal_layer = -1);
113 int getET(
unsigned int layer,
int cell = 0)
const;
137 float getET_float(
unsigned int layer,
int cell = 0)
const;
171 std::vector<Identifier>
getLayerSCIDs(
unsigned int layer)
const;
std::vector< Identifier > ID
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold:
const std::vector< Identifier > & getEMSCIDs() const
std::vector< Identifier > m_EM_scID
void setPosNeg(int posneg)
int getTotalET() const
Get ET sum of all cells in the jTower in MeV.
float getLayerTotalET_float(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV FLOAT VERSION.
std::vector< Identifier > getLayerSCIDs(unsigned int layer) const
int getET(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV.
void set_Et(int layer, int et)
Set ET value in MeV.
std::vector< int > m_TTowerAreaInv
std::vector< int > getLayerETvec(unsigned int layer) const
Get vector of ET values for a given layer in MeV.
void setMaxEtforPileup(int etval)
void clear_EM_scIDs()
Clear and resize Identifier value vector.
void set_TileCal_Et(int layer, int et)
void setNoiseForJet(int noiseVal, int layer)
int getMaxEtforPileup() const
Identifier getHADSCID(int cell) const
void setMinEtforPileup(int etval)
Add to pilup lower and upper thresholds.
float getET_float(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV FLOAT VERSION.
const std::vector< Identifier > & getHADSCIDs() const
void setTTowerArea(int area, int layer)
Add to Area values of a specified tower.
void set_LAr_Et(Identifier ID, int cell, float et, int layer)
Set LAr supercell position ID.
virtual ~jTower()=default
Destructor.
int getET_EM() const
Get EM ET value in MeV.
void setCentrePhi(float iphi)
std::vector< float > m_et_float_raw
std::vector< int > m_TTowerArea
void clearET()
Clear supercell ET values.
float getTotalET_float() const
Get ET sum of all cells in the jTower in MeV FLOAT VERSION.
void setEMSat()
set and get saturation
int iEta() const
Get coordinates of tower.
int getLayerTotalET(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV.
int getNoiseForJet(int layer) const
void setNoiseForMet(int noiseVal, int layer)
Noise values for each layer and object.
const std::vector< int > & getETs() const
Get vector of all ET values in MeV.
int getMinEtforPileup() const
void setOnlineID(int tower_id_online)
void setCentreEta(float ieta)
Add to eta/phi values of a specified tower.
void setTTowerAreaInv(int area, int layer)
Add to Area inverted values of a specified tower.
Identifier getEMSCID(int cell) const
void clear_HAD_scIDs()
Clear and resize HAD SC Identifier value vector.
void Do_LAr_encoding()
Applies LAr digitization scheme.
int getTTowerArea(int layer) const
void recordMD_ET(float et, int cell)
Add to ET of a specified cell.
const std::vector< float > & getETs_float() const
Get vector of all ET values in MeV FLOAT VERSION.
std::vector< float > getLayerETvec_float(unsigned int layer) const
Get vector of ET values for a given layer in MeV FLOAT VERSION.
std::vector< Identifier > m_HAD_scID
int getTTowerAreaInv(int layer) const
int getNoiseForMet(int layer) const
int iPhi() const
Return global phi index.
void addET(float et, int cell)
Add to ET of a specified cell in MeV.
float centrephi_toPI() const
int getET_HAD() const
Get HAD ET value in MeV.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Extra patterns decribing particle interation process.