ATLAS Offline Software
ALFA_HitCollection_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ALFA_HitCollection_p1_h
6 #define ALFA_HitCollection_p1_h
7 
8 //#include "AthenaPoolUtilities/TPObjRef.h"
9 
11 
12 #include <vector>
13 #include <string>
14 
15 /* class ALFA_HitCollection_p1
16  : public std::vector<TPObjRef>
17 {
18 public:
19  ALFA_HitCollection_p1(){}
20 }; */
21 
23 {
24 public:
25 
26  typedef std::vector<ALFA_Hit_p1> HitVector;
27  typedef HitVector::const_iterator const_iterator;
29 
30 // Default constructor
32 
33 
34 
35 //inline ALFA_HitCollection_p1::ALFA_HitCollection_p1 () {}
36 
37 // Accessors
38  const std::string& name() const;
39  const HitVector& getVector() const;
40 
41  //private:
42  std::vector<ALFA_Hit_p1> m_cont;
43  std::string m_name;
44 };
45 
46 // inlines
47 
48 inline
50 
51 inline
52 const std::string&
54 {return m_name;}
55 
56 inline
57 const std::vector<ALFA_Hit_p1>&
59 {return m_cont;}
60 
61 
62 #endif // ALFA_HitCollection_p1_h
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
ALFA_HitCollection_p1::HitVector
std::vector< ALFA_Hit_p1 > HitVector
Definition: ALFA_HitCollection_p1.h:26
ALFA_HitCollection_p1::m_name
std::string m_name
Definition: ALFA_HitCollection_p1.h:43
ALFA_HitCollection_p1::const_iterator
HitVector::const_iterator const_iterator
Definition: ALFA_HitCollection_p1.h:27
ALFA_Hit_p1.h
ALFA_HitCollection_p1::m_cont
std::vector< ALFA_Hit_p1 > m_cont
Definition: ALFA_HitCollection_p1.h:42
ALFA_HitCollection_p1::getVector
const HitVector & getVector() const
Definition: ALFA_HitCollection_p1.h:58
ALFA_HitCollection_p1::name
const std::string & name() const
Definition: ALFA_HitCollection_p1.h:53
ALFA_HitCollection_p1::iterator
HitVector::iterator iterator
Definition: ALFA_HitCollection_p1.h:28
ALFA_HitCollection_p1::ALFA_HitCollection_p1
ALFA_HitCollection_p1()
Definition: ALFA_HitCollection_p1.h:49
ALFA_HitCollection_p1
Definition: ALFA_HitCollection_p1.h:23