33 return StatusCode::SUCCESS ;
52 auto vectorOfJEs = std::make_unique<JECollection>();
53 auto jeAuxVector = std::make_unique<JEAuxCollection>();
54 vectorOfJEs->setStore(jeAuxVector.get());
61 ATH_MSG_DEBUG( vectorOfJEs->size()<<
" JetElements have been generated") ;
62 ATH_CHECK(jetElements.record(std::move(vectorOfJEs), std::move(jeAuxVector)));
64 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode initialize()
the initialise() method is called at the start of processing, so we set up any histograms etc.
ToolHandle< LVL1::IL1JetElementTools > m_JetElementTool
SG::WriteHandleKey< JECollection > m_jetElementKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
Run2JetElementMaker(const std::string &name, ISvcLocator *pSvcLocator)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())