ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
DataModelTestDataCommon
CLinksAOD.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_CLINKSAOD_H
14
#define DATAMODELTESTDATACOMMON_CLINKSAOD_H
15
16
17
#include "
DataModelTestDataCommon/CVec.h
"
18
#include "AthLinks/ElementLink.h"
19
#include "AthLinks/ElementLinkVector.h"
20
21
22
namespace
DMTest
{
23
24
31
class
CLinksAOD
32
{
33
public
:
34
// Get/set the vector<ElementLink>.
35
const
std::vector<ElementLink<CVec> >&
vel
()
const
;
36
void
setVel
(
const
std::vector<
ElementLink<CVec>
>&
vel
);
37
void
setVel
(std::vector<
ElementLink<CVec>
>&&
vel
);
38
39
// Get/set the ElementLinkVector.
40
const
ElementLinkVector<CVec>
&
elv
()
const
;
41
ElementLinkVector<CVec>
&
elv
();
42
void
setElv
(
const
ElementLinkVector<CVec>
&
elv
);
43
44
45
private
:
46
std::vector<ElementLink<CVec> >
m_vel
;
47
ElementLinkVector<CVec>
m_elv
;
48
};
49
50
51
}
// namespace DMTest
52
53
54
#include "
xAODCore/CLASS_DEF.h
"
55
CLASS_DEF
(
DMTest::CLinksAOD
, 28651380, 1)
56
57
58
#endif
// not DATAMODELTESTDATACOMMON_CLINKSAOD_H
CVec.h
Class used for testing xAOD data reading/writing.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CLASS_DEF.h
File providing the different SG_BASE macros.
DMTest::CLinksAOD
For testing thinning of AOD objects.
Definition
CLinksAOD.h:32
DMTest::CLinksAOD::m_elv
ElementLinkVector< CVec > m_elv
Definition
CLinksAOD.h:47
DMTest::CLinksAOD::elv
const ElementLinkVector< CVec > & elv() const
Definition
CLinksAOD.cxx:36
DMTest::CLinksAOD::setVel
void setVel(const std::vector< ElementLink< CVec > > &vel)
Definition
CLinksAOD.cxx:24
DMTest::CLinksAOD::m_vel
std::vector< ElementLink< CVec > > m_vel
Definition
CLinksAOD.h:46
DMTest::CLinksAOD::setElv
void setElv(const ElementLinkVector< CVec > &elv)
Definition
CLinksAOD.cxx:48
DMTest::CLinksAOD::vel
const std::vector< ElementLink< CVec > > & vel() const
Definition
CLinksAOD.cxx:18
ElementLinkVector
ElementLinkVector implementation for standalone ROOT.
Definition
AthLinks/ElementLinkVector.h:64
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0