ATLAS Offline Software
xAODTestWriteCLinks.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-2019 CERN for the benefit of the ATLAS collaboration
4  */
13 #ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
15 
16 
24 
25 
26 namespace DMTest {
27 
28 
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:
52  StatusCode fillCLinks (const std::string& key,
53  const CVec& cvec,
54  size_t ndx,
55  CLinks& clinks) const;
56  StatusCode fillCLinksAOD (const std::string& key,
57  const CVec& cvec,
58  CLinksAOD& clinks) const;
59 
61  { this, "CVecKey", "cvec", "CVec object to target by links" };
62 
64  { this, "CLinksKey", "clinks", "Standalone CLinks object to create" };
65 
67  { this, "CLinksContainerKey", "clinksContainer", "CLinks container object to create" };
68 
70  { this, "CLinksAODKey", "clinksAOD", "AOD CLinks object to create" };
71 };
72 
73 
74 } // namespace DMTest
75 
76 
77 #endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CLinksAOD.h
For testing thinning of AOD objects.
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
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.
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
DMTest::CLinksAOD
For testing thinning of AOD objects.
Definition: CLinksAOD.h:32
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest
Definition: B.h:23
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37