6 std::vector<HGCalTower>& outputTowers_SA)
const {
8 if (inputTowerMaps_SA.empty())
10 std::vector<HGCalTowerCoord> tower_ids;
11 for (
const auto&
tower : inputTowerMaps_SA.front().towers()) {
12 tower_ids.emplace_back(
tower.first,
tower.second.eta(),
tower.second.phi());
16 for (
const auto&
map : inputTowerMaps_SA) {
21 if (
tower.second.etEm() > 0 ||
tower.second.etHad() > 0) {
22 outputTowers_SA.push_back(
tower.second);
void runAlgorithm(const std::vector< l1thgcfirmware::HGCalTowerMap > &inputTowerMaps_SA, std::vector< l1thgcfirmware::HGCalTower > &outputTowers_SA) const
const std::unordered_map< unsigned short, l1thgcfirmware::HGCalTower > & towers() const