24 m_CPMTowerTool(
"LVL1::L1CPMTowerTools/L1CPMTowerTools") {}
34 return StatusCode::SUCCESS ;
55 auto vectorOfCPMTs = std::make_unique<CPMTCollection>();
56 auto cpmtAuxVector = std::make_unique<CPMTAuxCollection>();
57 vectorOfCPMTs->setStore(cpmtAuxVector.get());
63 m_CPMTowerTool->makeCPMTowers(vectorOfTTs.get(), vectorOfCPMTs.get(),
true);
64 ATH_MSG_DEBUG( vectorOfCPMTs->size()<<
" CPMTowers have been generated") ;
67 ATH_MSG_DEBUG (
"Formed " << vectorOfCPMTs->size() <<
" CPM Towers " ) ;
70 for (itCPMT = vectorOfCPMTs->begin(); itCPMT != vectorOfCPMTs->end(); ++itCPMT)
71 ATH_MSG_DEBUG(
"CPMT has coords (" << (*itCPMT)->eta() <<
", "<< (*itCPMT)->phi() <<
") and energies : "
72 << (*itCPMT)->emEnergy() <<
", "<< (*itCPMT)->hadEnergy() <<
" (Em,Had)" );
74 ATH_CHECK(CPMTs.record(std::move(vectorOfCPMTs), std::move(cpmtAuxVector)));
76 return StatusCode::SUCCESS;