ATLAS Offline Software
AllocTestWriteWithoutAlloc.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
4  */
13 #ifndef DATAMODELTESTDATAWRITE_ALLOCTESTWRITEWITHOUTALLOC_H
14 #define DATAMODELTESTDATAWRITE_ALLOCTESTWRITEWITHOUTALLOC_H
15 
16 
21 
22 
23 namespace DMTest {
24 
25 
33  : public AthReentrantAlgorithm
34 {
35 public:
37 
38 
42  virtual StatusCode initialize() override;
43 
44 
48  virtual StatusCode execute (const EventContext& ctx) const override;
49 
50 
51 private:
53  { this, "ContainerKey", "AllocTest" };
54 };
55 
56 
57 } // namespace DMTest
58 
59 
60 #endif // not DATAMODELTESTDATAWRITE_ALLOCTESTWRITEWITHOUTALLOC_H
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
DMTest::AllocTestWriteWithoutAlloc::m_containerKey
SG::WriteHandleKey< AllocTestContainer > m_containerKey
Definition: AllocTestWriteWithoutAlloc.h:53
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
AllocTest.h
Testing an xAOD object with a non-standard memory allocator.
DMTest::AllocTestWriteWithoutAlloc
Test writing AllocTest with a non-default allocator.
Definition: AllocTestWriteWithoutAlloc.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::AllocTestWriteWithoutAlloc::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: AllocTestWriteWithoutAlloc.cxx:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::AllocTestWriteWithoutAlloc::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: AllocTestWriteWithoutAlloc.cxx:32
AllocTestContainer.h
Testing an xAOD object with a non-standard memory allocator.
DMTest
Definition: B.h:23