1 #ifndef L1Trigger_L1THGCal_HGCalTowerMap_SA_h 2 #define L1Trigger_L1THGCal_HGCalTowerMap_SA_h 6 #include <unordered_map> 14 HGCalTowerMap(
const std::vector<l1thgcfirmware::HGCalTowerCoord>& tower_ids);
20 bool addEt(
short bin_id,
float etEm,
float etHad);
22 const std::unordered_map<unsigned short, l1thgcfirmware::HGCalTower>&
towers()
const {
return towerMap_; }
25 std::unordered_map<unsigned short, l1thgcfirmware::HGCalTower>
towerMap_;
bool addEt(short bin_id, float etEm, float etHad)
HGCalTowerMap & operator+=(const HGCalTowerMap &map)
std::unordered_map< unsigned short, l1thgcfirmware::HGCalTower > towerMap_
const std::unordered_map< unsigned short, l1thgcfirmware::HGCalTower > & towers() const