ATLAS Offline Software
TrackRecordCollection_p2.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKRECORDCOLLECTION_P2_H
6 #define TRACKRECORDCOLLECTION_P2_H
7 
8 /*
9 
10 Persistent represenation of TrackRecordCollection
11 Author: Davide Costanzo
12 
13 */
14 
15 #include <vector>
16 #include <string>
18 
19 
21 {
22 public:
24  typedef std::vector<TrackRecord_p1> HitVector;
25  typedef HitVector::const_iterator const_iterator;
27 
28 
31 
32  // Accessors
33  const std::string& name() const;
34  const HitVector& getVector() const;
35 
36  std::vector<TrackRecord_p1> m_cont;
37  std::string m_name;
38 };
39 
40 
41 // inlines
42 
43 inline
45 
46 inline
47 const std::string&
49 {return m_name;}
50 
51 inline
52 const std::vector<TrackRecord_p1>&
54 {return m_cont;}
55 
56 #endif
57 
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
TrackRecordCollection_p2::getVector
const HitVector & getVector() const
Definition: TrackRecordCollection_p2.h:53
TrackRecordCollection_p2::iterator
HitVector::iterator iterator
Definition: TrackRecordCollection_p2.h:26
TrackRecordCollection_p2::HitVector
std::vector< TrackRecord_p1 > HitVector
typedefs
Definition: TrackRecordCollection_p2.h:24
TrackRecordCollection_p2
Definition: TrackRecordCollection_p2.h:21
TrackRecordCollection_p2::const_iterator
HitVector::const_iterator const_iterator
Definition: TrackRecordCollection_p2.h:25
TrackRecord_p1.h
TrackRecordCollection_p2::name
const std::string & name() const
Definition: TrackRecordCollection_p2.h:48
TrackRecordCollection_p2::m_cont
std::vector< TrackRecord_p1 > m_cont
Definition: TrackRecordCollection_p2.h:36
TrackRecordCollection_p2::m_name
std::string m_name
Definition: TrackRecordCollection_p2.h:37
TrackRecordCollection_p2::TrackRecordCollection_p2
TrackRecordCollection_p2()
Default constructor.
Definition: TrackRecordCollection_p2.h:44