ATLAS Offline Software
xAODTestWrite.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 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
17 #define DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
18 
19 
26 
27 
28 namespace DMTest {
29 
30 
35  : public AthReentrantAlgorithm
36 {
37 public:
43  xAODTestWrite (const std::string &name, ISvcLocator *pSvcLocator);
44 
45 
49  virtual StatusCode initialize() override;
50 
51 
55  virtual StatusCode execute (const EventContext& ctx) const override;
56 
57 
61  virtual StatusCode finalize() override;
62 
63 
64 private:
67  const EventContext& ctx) const;
68 
73 };
74 
75 
76 } // namespace DMTest
77 
78 
79 #endif // not DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestWrite::xAODTestWrite
xAODTestWrite(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestWrite.cxx:50
DMTest::xAODTestWrite::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWrite.cxx:64
DMTest::xAODTestWrite::m_ctrigKey
SG::WriteHandleKey< DMTest::CVec > m_ctrigKey
Definition: xAODTestWrite.h:70
DMTest::xAODTestWrite::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWrite.cxx:77
DMTest::xAODTestWrite
Algorithm for creating test aux data.
Definition: xAODTestWrite.h:36
GVec.h
DMTest::xAODTestWrite::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: xAODTestWrite.cxx:188
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CVec.h
Class used for testing xAOD data reading/writing.
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
DMTest::xAODTestWrite::write_cvec_with_data
StatusCode write_cvec_with_data(unsigned int count, const EventContext &ctx) const
Test writing container with additional data.
Definition: xAODTestWrite.cxx:135
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CVecWithData.h
Test writing a container with metadata.
DMTest::xAODTestWrite::m_cvecWDKey
SG::WriteHandleKey< DMTest::CVecWithData > m_cvecWDKey
Definition: xAODTestWrite.h:72
DMTest::xAODTestWrite::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestWrite.h:69
DMTest::xAODTestWrite::m_gvecKey
SG::WriteHandleKey< DMTest::GVec > m_gvecKey
Definition: xAODTestWrite.h:71
DMTest
Definition: B.h:23