9 for (
auto tower_id : tower_ids) {
17 <<
"HGCalTowerMap: Trying to add HGCalTowerMaps with different bins: " <<
nTowers() <<
" and " <<
map.nTowers()
21 for (
const auto&
tower :
map.towers()) {
25 <<
"HGCalTowerMap: Trying to add HGCalTowerMaps but could not find bin: " <<
tower.first << endl;
27 this_tower->second +=
tower.second;
37 this_tower->second.addEtEm(etEm);
38 this_tower->second.addEtHad(etHad);
static const char layer_[]
bool addEt(short bin_id, float etEm, float etHad)
const HGCalTowerMap & operator+=(const HGCalTowerMap &map)
std::unordered_map< unsigned short, l1t::HGCalTower > towerMap_