|
ATLAS Offline Software
|
Go to the documentation of this file.
32 ISvcLocator *pSvcLocator)
50 return StatusCode::SUCCESS;
62 std::ostringstream
ost;
64 for (
const C*
c : *cview) {
65 ost <<
" " <<
c->anInt();
67 ost <<
"(" << anInt10(*
c) <<
")";
73 ATH_CHECK( writeview.
record(std::make_unique<DMTest::CView> (*cview)) );
76 return StatusCode::SUCCESS;
85 return StatusCode::SUCCESS;
xAODTestReadCView(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Helper class to provide type-safe access to aux data.
SG::WriteHandleKey< DMTest::CView > m_writeKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Handle class for recording to StoreGate.
SG::ReadHandleKey< DMTest::CView > m_cviewKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Class used for testing xAOD data reading/writing.
Class used for testing ViewVector reading/writing.
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Algorithm to test reading xAOD data (CView)
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Handle class for reading from StoreGate.