5#ifndef TRIGT1CALOFEXPERF_JGTOWERHELPER_H
6#define TRIGT1CALOFEXPERF_JGTOWERHELPER_H
47 static bool inBox(
float eta1,
float eta2,
float deta,
float phi1,
float phi2,
float dphi);
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
void SetSampling(int sampling)
std::size_t nextEtaIndex() const
The index of the tower after this one in eta (SIZE_MAX if not valid)
void setArea(float value)
bool hasPreviousEta() const
Whether there is a previous eta tower.
void setPreviousPhiIndex(std::size_t value)
bool hasPreviousPhi() const
Whether there is a previous phi tower.
void setIndexBehind(std::size_t value)
std::size_t indexBehind() const
The index of the tower behind this one.
bool isBackTower() const
Whether there is a tower behind this one.
std::size_t previousPhiIndex() const
The index of the tower before this one in phi (SIZE_MAX if not valid)
void setNextPhiIndex(std::size_t value)
std::size_t m_indexBehind
const std::vector< int > & GetTileIndices() const
std::size_t indexInFront() const
The index of the tower in front of this one.
std::size_t m_indexInFront
void setIndexInFront(std::size_t value)
std::size_t m_prevEtaIndex
std::size_t m_nextPhiIndex
bool hasNextEta() const
Whether there is a next eta tower.
bool isFrontTower() const
Whether there is a tower in front of this one.
void SetTileIndices(int tile_id)
static bool inBox(float eta1, float eta2, float deta, float phi1, float phi2, float dphi)
void setPreviousEtaIndex(std::size_t value)
const std::vector< int > & GetSCIndices() const
std::size_t m_nextEtaIndex
void SetSCIndices(int sc_id)
std::size_t nextPhiIndex() const
The index of the tower after this one in phi (SIZE_MAX if not valid)
std::size_t m_prevPhiIndex
std::size_t previousEtaIndex() const
The index of the tower before this one in eta (SIZE_MAX if not valid)
bool hasNextPhi() const
Whether there is a next phi tower.
std::vector< int > m_scellIndices
void setNextEtaIndex(std::size_t value)
std::vector< int > m_tileIndices
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...