17 towermap3D_ = std::make_unique<HGCalTowerMap3DImpl>();
28 auto& towerMapCollHandle = collHandle.first;
29 auto& unclTCsCollHandle = collHandle.second;
32 std::vector<edm::Ptr<l1t::HGCalTowerMap>> towerMapsPtrs;
33 for (
unsigned i = 0;
i < towerMapCollHandle->size(); ++
i) {
34 towerMapsPtrs.emplace_back(towerMapCollHandle,
i);
41 std::vector<edm::Ptr<l1t::HGCalTriggerCell>> trigCellVec;
42 for (
unsigned i = 0;
i < unclTCsCollHandle->size(); ++
i) {
45 trigCellVec.push_back(itTC.second);
51 towermap2D_->buildTowerMap2D(trigCellVec, towerMapsFromUnclTCs);
54 unsigned int towerMapsPtrsSize = towerMapsPtrs.size();
55 for (
unsigned int i = 0;
i < towerMapsFromUnclTCs.
size(); ++
i) {
56 towerMapsPtrs.emplace_back(&(towerMapsFromUnclTCs[
i]),
i + towerMapsPtrsSize);
60 towermap3D_->buildTowerMap3D(towerMapsPtrs, collTowers);
63 towermap3D_->buildTowerMap3D(towerMapsPtrs, collTowers);