ATLAS Offline Software
xAODTestWritePLinks.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-2024 CERN for the benefit of the ATLAS collaboration
4  */
13 #ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
15 
16 
24 
25 
26 namespace DMTest {
27 
28 
33  : public AthReentrantAlgorithm
34 {
35 public:
37 
38 
40 
41 
45  virtual StatusCode initialize() override;
46 
47 
51  virtual StatusCode execute (const EventContext& ctx) const override;
52 
53 
54 private:
55  EL makeLink (const std::string& key1,
56  const CVec& cvec1,
57  const std::string& key2,
58  const CVec& cvec2,
59  size_t ndx) const;
60 
61 
62  StatusCode fillPLinks (const std::string& key1,
63  const CVec& cvec1,
64  const std::string& key2,
65  const CVec& cvec2,
66  size_t ndx,
67  PLinks& plinks) const;
68 
69  StatusCode decorPLinks (const EventContext& ctx,
70  const std::string& key1,
71  const CVec& cvec1,
72  const std::string& key2,
73  const CVec& cvec2) const;
74 
76  { this, "CVecKey", "cvec", "CVec object to target by links" };
78  { this, "CTrigKey", "ctrig", "Another CVec object to target by links" };
79 
81  { this, "PLinksContainerKey", "plinksContainer", "PLinks container object to create" };
82 
84  { this, "PLinksInfoKey", "plinksInfo", "Standalone PLinks object to create" };
85 
87  { this, "PLinksDecorLinkKey", "plinksContainer.decorLink", "" };
88 
90  { this, "PLinksDecorVLinksKey", "plinksContainer.decorVLinks", "" };
91 
93  { this, "PLinksInfoDecorLinkKey", "plinksInfo.decorLink", "" };
94 
96  { this, "PLinksInfoDecorVLinksKey", "plinksInfo.decorVLinks", "" };
97 };
98 
99 
100 } // namespace DMTest
101 
102 
103 #endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
module_driven_slicing.key2
key2
Definition: module_driven_slicing.py:159
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
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
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
module_driven_slicing.key1
key1
Definition: module_driven_slicing.py:158