|
ATLAS Offline Software
|
Go to the documentation of this file.
31 ISvcLocator *pSvcLocator)
33 m_cvecKey (
"cvecConst")
45 return StatusCode::SUCCESS;
54 auto coll = std::make_unique<DMTest::CVec>();
55 auto store = std::make_unique<DMTest::CAuxContainer>();
56 coll->setStore (
store.get());
61 size_t count = ctx.evt();
62 for (
int i=0;
i < 10;
i++) {
66 c.setAFloat (
count * 200 + (
float)
i*0.1);
69 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
SG::WriteHandleKey< DMTest::CVec > m_cvecKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Class used for testing xAOD data reading/writing.
xAODTestWriteCVecConst(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Hold information about an option setting request.
An algorithm that can be simultaneously executed in multiple threads.
Class used for testing xAOD data reading/writing.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class used for testing xAOD data reading/writing.
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
#define CHECK(...)
Evaluate an expression and check for errors.
const T * back() const
Access the last element in the collection as an rvalue.
Test recording a const aux obj via WriteHandle.
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.