|
ATLAS Offline Software
|
Go to the documentation of this file.
33 return StatusCode::SUCCESS;
42 auto fwdEventInfo = std::make_unique<xAOD::ForwardEventInfoContainer>();
43 auto fwdEventInfoAux = std::make_unique<xAOD::ForwardEventInfoAuxContainer>();
44 fwdEventInfo->setStore(fwdEventInfoAux.get());
49 ATH_CHECK(fwdEventInfoHandle.record(std::move(fwdEventInfo), std::move(fwdEventInfoAux)));
50 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
Function initialising the algorithm.
ForwardEventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
const std::string & key() const
Return the StoreGate ID for the referenced object.
ToolHandle< IForwardEventInfoCnvTool > m_cnvTool
SG::ReadHandleKey< MBTSCollisionTime > m_inputKey
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteHandleKey< xAOD::ForwardEventInfoContainer > m_outputKey
Helpers for checking error return status codes and reporting errors.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.