ATLAS Offline Software
LArHitContainer_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 LARHITCONTAINER_P1_H
6 #define LARHITCONTAINER_P1_H
7 
16 #include <vector>
17 #include <string>
19 
20 
22 {
23 public:
25  typedef std::vector<LArHit_p1> HitVector;
26  typedef HitVector::const_iterator const_iterator;
28 
29 
32 
33  // Accessors
34  const std::string& name() const;
35  const HitVector& getVector() const;
36  //private:
37  std::vector<LArHit_p1> m_cont;
38  std::string m_name;
39 };
40 
41 
42 // inlines
43 
44 inline
46 
47 inline
48 const std::string&
50 {return m_name;}
51 
52 inline
53 const std::vector<LArHit_p1>&
55 {return m_cont;}
56 
57 #endif
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
LArHitContainer_p1::m_cont
std::vector< LArHit_p1 > m_cont
Definition: LArHitContainer_p1.h:37
LArHitContainer_p1::const_iterator
HitVector::const_iterator const_iterator
Definition: LArHitContainer_p1.h:26
LArHitContainer_p1::LArHitContainer_p1
LArHitContainer_p1()
Default constructor.
Definition: LArHitContainer_p1.h:45
LArHitContainer_p1::getVector
const HitVector & getVector() const
Definition: LArHitContainer_p1.h:54
LArHitContainer_p1::m_name
std::string m_name
Definition: LArHitContainer_p1.h:38
LArHitContainer_p1::name
const std::string & name() const
Definition: LArHitContainer_p1.h:49
LArHitContainer_p1
Persistent represenation of a LArHitContainer,.
Definition: LArHitContainer_p1.h:22
LArHitContainer_p1::iterator
HitVector::iterator iterator
Definition: LArHitContainer_p1.h:27
LArHitContainer_p1::HitVector
std::vector< LArHit_p1 > HitVector
typedefs
Definition: LArHitContainer_p1.h:25
LArHit_p1.h