ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
11
12
13#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
14#define DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
15
16
24
25
26namespace DMTest {
27
28
34{
35public:
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
37
38
40
41
45 virtual StatusCode initialize() override;
46
47
51 virtual StatusCode execute (const EventContext& ctx) const override;
52
53
54private:
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
Class used for testing xAOD data reading/writing.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition B.h:23
CVec_v1 CVec
Definition CVec.h:26
PLinks_v1 PLinks
Definition PLinks.h:23
This module defines the arguments passed from the BATCH driver to the BATCH worker.