77 double absEta = fabs(eta);
78 int signEta = eta>0 ? 1 : -1;
122 <<
"HGCalTowerMap: Trying to add HGCalTowerMaps with different bins"<<endl;
126 if(
iEta==0)
continue;
142 <<
"HGCalTowerMap: Trying to access a bin out of eta range"<<endl;
147 <<
"HGCalTowerMap: Trying to access a bin out of phi range"<<endl;
int iPhi(const double phi) const
vector< double > phiBins_
const vector< double > & etaBins() const
std::unordered_map< int, l1t::HGCalTower > towerMap_
int bin_id(int iEta, int iPhi) const
int iEta(const double eta) const
const l1t::HGCalTower & tower(int iEta, int iPhi) const
bin
set the eta bin as selection string.
static double kEtaMinLoose_
vector< double > etaBins_
static double kEtaMaxLoose_
HGCalTowerMap & operator+=(const HGCalTowerMap &map)
const vector< double > & phiBins() const