ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "AthLinks/ElementLink.h"
19#include "AthLinks/ElementLinkVector.h"
20
21
22namespace DMTest {
23
24
32{
33public:
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;
43
44
45private:
46 std::vector<ElementLink<CVec> > m_vel;
48};
49
50
51} // namespace DMTest
52
53
54#include "xAODCore/CLASS_DEF.h"
55CLASS_DEF (DMTest::CLinksAOD, 28651380, 1)
56
57
58#endif // not DATAMODELTESTDATACOMMON_CLINKSAOD_H
Class used for testing xAOD data reading/writing.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
File providing the different SG_BASE macros.
For testing thinning of AOD objects.
Definition CLinksAOD.h:32
ElementLinkVector< CVec > m_elv
Definition CLinksAOD.h:47
const ElementLinkVector< CVec > & elv() const
Definition CLinksAOD.cxx:36
void setVel(const std::vector< ElementLink< CVec > > &vel)
Definition CLinksAOD.cxx:24
std::vector< ElementLink< CVec > > m_vel
Definition CLinksAOD.h:46
void setElv(const ElementLinkVector< CVec > &elv)
Definition CLinksAOD.cxx:48
const std::vector< ElementLink< CVec > > & vel() const
Definition CLinksAOD.cxx:18
ElementLinkVector implementation for standalone ROOT.
Definition B.h:23