|
ATLAS Offline Software
|
Go to the documentation of this file.
35 return StatusCode::SUCCESS;
44 size_t count = ctx.evt() + 1;
51 ATH_CHECK(
copy.record (std::unique_ptr<DMTest::HVec>(ret.first),
52 std::unique_ptr<xAOD::ShallowAuxContainer>(ret.second)) );
55 for (
H*
h : *ret.first)
56 aFloat20(*
h) =
count * 20000 +
h->aFloat();
59 return StatusCode::SUCCESS;
SG::ReadHandleKey< DMTest::HVec > m_readKey
SG::WriteDecorHandleKey< DMTest::HVec > m_aFloat20Key
Test for xAOD schema evolution.
std::vector< size_t > vec
Algorithm to test shallow-copy of xAOD data.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
SG::WriteHandleKey< DMTest::HVec > m_writeKey
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
Test for xAOD schema evolution.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Helpers for checking error return status codes and reporting errors.
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
Handle mappings between names and auxid_t.
Handle class for reading from StoreGate.