44 gTower(
int eta,
int phi,
int nphi,
int id_modifier,
int posneg);
56 void addET(
float et,
int layer);
106 int getFWID(
int & iPhiFW,
int & iEtaFW)
const;
std::vector< Identifier > ID
Helper class for offline supercell identifiers.
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 gTower class is an interface object for gFEX trigger algorithms The purposes are twofold:
int getET_EM_float() const
Get ET in MeV from EM calo FLOAT VERSION.
void setEta(const float thiseta)
std::vector< float > m_et_float_perlayer
void setIsSaturated(char isSaturated)
Sets saturation flag.
int getET_HAD_float() const
Get ET in MeV from HAD calo FLOAT VERSION.
int getFWID() const
Calculates and returns the firmware ID.
char isSaturated() const
Returns true if is saturated.
std::vector< Identifier > m_scID
void setSCID(Identifier ID)
Set supercell position ID.
int getID() const
Add to ET.
void clear_scIDs()
Clear and resize Identifier value vector.
void setPosNeg(int posneg)
bool noiseCut(int et) const
Apply supercell noise cut.
float getET_float() const
Get ET (total) in MeV FLOAT VERSION.
int iEta() const
Get coordinates of tower.
const std::vector< Identifier > & getSCIDs() const
void setTotalEt(int totEt)
void clearET()
Clear supercell ET values.
void getEtaPhi(float &Eta, float &Phi, int iEta, int iPhi) const
Calculates eta and phi from ieta and iphi.
void addET(float et, int layer)
Add ET in MeV, layer refers to EM or HAD (Tile)
int getET() const
Get ET (total) in MeV.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Extra patterns decribing particle interation process.