16 towermap3D_ = std::make_unique<HGCalTowerMap3DImpl>();
27 auto& towerMapCollHandle = collHandle.first;
28 auto& unclTCsCollHandle = collHandle.second;
31 std::vector<edm::Ptr<l1t::HGCalTowerMap>> towerMapsPtrs;
32 for (
unsigned i = 0;
i < towerMapCollHandle->size(); ++
i) {
33 towerMapsPtrs.emplace_back(towerMapCollHandle,
i);
39 std::vector<edm::Ptr<l1t::HGCalTriggerCell>> trigCellVec;
40 for (
unsigned i = 0;
i < unclTCsCollHandle->size(); ++
i) {
43 trigCellVec.push_back(itTC.second);
49 towermap2D_->buildTowerMap2D(trigCellVec, towerMapsFromUnclTCs);
52 unsigned int towerMapsPtrsSize = towerMapsPtrs.size();
53 for (
unsigned int i = 0;
i < towerMapsFromUnclTCs.
size(); ++
i) {
54 towerMapsPtrs.emplace_back(&(towerMapsFromUnclTCs[
i]),
i + towerMapsPtrsSize);
58 towermap3D_->buildTowerMap3D(towerMapsPtrs, collTowers);