14 #ifndef L1Trigger_L1TCommon_CaloTools_h 15 #define L1Trigger_L1TCommon_CaloTools_h 46 static const int kNrTowers = ((kHFEnd-kHFBegin+1)*kHFNrPhi + kHBHEEnd*kHBHENrPhi )*2;
79 static int calHwEtSum(
int iEta,
int iPhi,
const std::vector<l1t::CaloTower>& towers,
80 int localEtaMin,
int localEtaMax,
int localPhiMin,
int localPhiMax,
SubDet etMode=
CALO);
81 static int calHwEtSum(
int iEta,
int iPhi,
const std::vector<l1t::CaloTower>& towers,
82 int localEtaMin,
int localEtaMax,
int localPhiMin,
int localPhiMax,
92 static float towerPhi(
int ieta,
int iphi);
97 static int mpEta(
int ieta);
101 static int gtEta(
int ieta);
102 static int gtPhi(
int ieta,
int iphi);
105 static unsigned int gloriousDivision(uint32_t aNumerator, uint32_t aDenominator);
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.