27 ISvcLocator *pSvcLocator)
46 return StatusCode::SUCCESS;
56 unsigned int eventNumber = ctx.eventID().event_number();
57 ATH_CHECK( s2.record (std::make_unique<DMTest::S2> (eventNumber*100)) );
60 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< DMTest::S2 > m_s2Key
Main output.
xAODTestWriteSymlinks(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
SG::WriteHandleKey< DMTest::S2 > m_aliasKey
Alias.
SG::WriteHandleKey< DMTest::S1 > m_s1Key
Symlink.
Testing making symlinks/aliases through handles.