44 eTower(
float eta,
float phi,
int id_modifier,
int posneg);
74 int getET(
unsigned int layer,
int cell = 0)
const;
92 float getET_float(
unsigned int layer,
int cell = 0)
const;
106 void setET(
int cell,
float et,
int layer,
bool ignoreDisable=
false);
117 std::vector<Identifier>
getLayerSCIDs(
unsigned int layer)
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 eTower class is an interface object for eFEX trigger algorithms The purposes are twofold:
float m_eta
Internal data.
void clear_scIDs()
Clear and resize Identifier value vector.
const std::vector< float > & getETs_float() const
Get vector of all ET values in MeV FLOAT VERSION.
int getLayerTotalET(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV.
void setPosNeg(int posneg)
float getTotalET_float() const
Get ET sum of all cells in the eTower in MeV FLOAT VERSION.
std::vector< float > m_et_float
Identifier getSCID(int cell) const
float getET_float(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV FLOAT VERSION.
std::vector< unsigned int > m_etSplits
std::vector< float > getLayerETvec_float(unsigned int layer) const
Get vector of ET values for a given layer in MeV FLOAT VERSION.
const std::vector< Identifier > & getSCIDs() const
void recordMD_ET(float et, int cell)
Add to ET of a specified cell.
void setEta(const float thiseta)
int iEta() const
Get coordinates of tower.
int getET(unsigned int layer, int cell=0) const
Get ET of a specified cell 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< int > getLayerETvec(unsigned int layer) const
Get vector of ET values for a given layer in MeV.
std::vector< Identifier > m_scID
int getTotalET() const
Get ET sum of all cells in the eTower in MeV.
const std::vector< int > & getETs() const
Get vector of all ET values in MeV.
std::vector< Identifier > getLayerSCIDs(unsigned int layer) const
std::vector< Identifier > m_scID_split
const std::vector< unsigned int > & getETSplits() const
Get vector of INT which describe whether a slot shared split ET from two different supercells - requi...
void addET(float et, int cell)
Add to ET of a specified cell in MeV.
virtual ~eTower()=default
Destructor.
void clearET()
Clear supercell ET values.
void setET(int cell, float et, int layer, bool ignoreDisable=false)
void setSCID(Identifier ID, int cell, float et, int layer, bool doenergysplit)
Set supercell position ID.
int iPhi() const
Return global phi index.
const std::vector< Identifier > & getSCIDs_split() const
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Extra patterns decribing particle interation process.