ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
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
*/
11
12
13
#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
14
#define DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
15
16
17
#include "
DataModelTestDataCommon/CVec.h
"
18
#include "
DataModelTestDataCommon/CLinks.h
"
19
#include "
DataModelTestDataCommon/CLinksContainer.h
"
20
#include "
DataModelTestDataCommon/CLinksAOD.h
"
21
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
22
#include "
StoreGate/WriteHandleKey.h
"
23
#include "
StoreGate/ReadHandleKey.h
"
24
25
26
namespace
DMTest
{
27
28
32
class
xAODTestWriteCLinks
33
:
public
AthReentrantAlgorithm
34
{
35
public
:
36
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
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
60
SG::ReadHandleKey<DMTest::CVec>
m_cvecKey
61
{
this
,
"CVecKey"
,
"cvec"
,
"CVec object to target by links"
};
62
63
SG::WriteHandleKey<DMTest::CLinks>
m_clinksKey
64
{
this
,
"CLinksKey"
,
"clinks"
,
"Standalone CLinks object to create"
};
65
66
SG::WriteHandleKey<DMTest::CLinksContainer>
m_clinksContainerKey
67
{
this
,
"CLinksContainerKey"
,
"clinksContainer"
,
"CLinks container object to create"
};
68
69
SG::WriteHandleKey<DMTest::CLinksAOD>
m_clinksAODKey
70
{
this
,
"CLinksAODKey"
,
"clinksAOD"
,
"AOD CLinks object to create"
};
71
};
72
73
74
}
// namespace DMTest
75
76
77
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTWRITECLINKS_H
AthReentrantAlgorithm.h
CLinksAOD.h
For testing thinning of AOD objects.
CLinksContainer.h
For testing thinning of xAOD objects.
CLinks.h
For testing thinning of xAOD objects.
CVec.h
Class used for testing xAOD data reading/writing.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::CLinksAOD
For testing thinning of AOD objects.
Definition
CLinksAOD.h:32
DMTest::xAODTestWriteCLinks
Algorithm for creating test aux data.
Definition
xAODTestWriteCLinks.h:34
DMTest::xAODTestWriteCLinks::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestWriteCLinks.cxx:28
DMTest::xAODTestWriteCLinks::m_clinksContainerKey
SG::WriteHandleKey< DMTest::CLinksContainer > m_clinksContainerKey
Definition
xAODTestWriteCLinks.h:67
DMTest::xAODTestWriteCLinks::m_clinksKey
SG::WriteHandleKey< DMTest::CLinks > m_clinksKey
Definition
xAODTestWriteCLinks.h:64
DMTest::xAODTestWriteCLinks::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestWriteCLinks.cxx:41
DMTest::xAODTestWriteCLinks::fillCLinksAOD
StatusCode fillCLinksAOD(const std::string &key, const CVec &cvec, CLinksAOD &clinks) const
Definition
xAODTestWriteCLinks.cxx:101
DMTest::xAODTestWriteCLinks::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition
xAODTestWriteCLinks.h:61
DMTest::xAODTestWriteCLinks::m_clinksAODKey
SG::WriteHandleKey< DMTest::CLinksAOD > m_clinksAODKey
Definition
xAODTestWriteCLinks.h:70
DMTest::xAODTestWriteCLinks::fillCLinks
StatusCode fillCLinks(const std::string &key, const CVec &cvec, size_t ndx, CLinks &clinks) const
Definition
xAODTestWriteCLinks.cxx:78
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DMTest
Definition
B.h:23
DMTest::CVec
CVec_v1 CVec
Definition
CVec.h:26
DMTest::CLinks
CLinks_v1 CLinks
Definition
CLinks.h:23
Generated on
for ATLAS Offline Software by
1.17.0