ATLAS Offline Software
AllocTestWriteWithAlloc.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  */
14 #ifndef DATAMODELTESTDATAREAD_ALLOCTESTWRITEWITHALLOC_H
15 #define DATAMODELTESTDATAREAD_ALLOCTESTWRITEWITHALLOC_H
16 
17 
22 
23 
24 namespace DMTest {
25 
26 
34  : public AthReentrantAlgorithm
35 {
36 public:
38 
39 
43  virtual StatusCode initialize() override;
44 
45 
49  virtual StatusCode execute (const EventContext& ctx) const override;
50 
51 
52 private:
54  { this, "ContainerKey", "AllocTest" };
55 };
56 
57 
58 } // namespace DMTest
59 
60 
61 #endif // not DATAMODELTESTDATAREAD_ALLOCTESTWRITEWITHALLOC_H
AllocTest.h
Testing an xAOD object with a non-standard memory allocator.
DMTest::AllocTestWriteWithAlloc::m_containerKey
SG::WriteHandleKey< AllocTestContainer > m_containerKey
Definition: AllocTestWriteWithAlloc.h:54
DMTest::AllocTestWriteWithAlloc::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: AllocTestWriteWithAlloc.cxx:32
AllocTestContainer.h
Testing an xAOD object with a non-standard memory allocator.
DMTest::AllocTestWriteWithAlloc::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: AllocTestWriteWithAlloc.cxx:22
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::AllocTestWriteWithAlloc
Test writing AllocTest with a non-default allocator.
Definition: AllocTestWriteWithAlloc.h:35
DMTest
Definition: B.h:23