ATLAS Offline Software
TRT_DriftCirclesSeed.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Header file for class TRT_DriftCirclesSeed
8 // (c) ATLAS Detector software
10 // Class for trt drift circles seeds
12 // Version 1.0 18/11/2004 I.Gavrilenko
14 
15 #ifndef TRT_DriftCirclesSeed_h
16 #define TRT_DriftCirclesSeed_h
17 #include <list>
19 
20 class MsgStream;
21 
22 namespace InDet {
23 
25 
27  // Public methods:
29 
30  public:
31 
35  virtual ~TRT_DriftCirclesSeed();
36  void erase();
37  void add(const InDet::TRT_DriftCircle*&);
38  const std::list<const InDet::TRT_DriftCircle*>& driftCircles() const;
39  virtual MsgStream& dump(MsgStream& out) const ;
40  virtual std::ostream& dump(std::ostream& out) const ;
41 
43  // Protected data members
45 
46  protected:
47 
48  std::list<const InDet::TRT_DriftCircle*> m_driftcircles;
49 
50  };
51 
52  MsgStream& operator << (MsgStream& ,const TRT_DriftCirclesSeed&);
53  std::ostream& operator << (std::ostream&,const TRT_DriftCirclesSeed&);
54 
56  // Inline methods
58 
60  {
61  }
62 
64  {
65  }
66 
67  inline const std::list<const InDet::TRT_DriftCircle*>&
69  {
70  return this->m_driftcircles;
71  }
72 
74  {
75  m_driftcircles.erase(m_driftcircles.begin(),m_driftcircles.end());
76  }
77 
79  {
80  m_driftcircles.push_back(dc);
81  }
82 
83 } // end of name space
84 
85 #endif // TRT_DriftCirclesSeed_h
InDet::TRT_DriftCirclesSeed
Definition: TRT_DriftCirclesSeed.h:24
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TRT_DriftCirclesSeed::TRT_DriftCirclesSeed
TRT_DriftCirclesSeed(const TRT_DriftCirclesSeed &)
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::TRT_DriftCircle
Definition: TRT_DriftCircle.h:32
InDet::TRT_DriftCirclesSeed::TRT_DriftCirclesSeed
TRT_DriftCirclesSeed()
Definition: TRT_DriftCirclesSeed.h:59
InDet::TRT_DriftCirclesSeed::erase
void erase()
Definition: TRT_DriftCirclesSeed.h:73
InDet::TRT_DriftCirclesSeed::m_driftcircles
std::list< const InDet::TRT_DriftCircle * > m_driftcircles
Definition: TRT_DriftCirclesSeed.h:48
InDet::TRT_DriftCirclesSeed::operator=
TRT_DriftCirclesSeed & operator=(const TRT_DriftCirclesSeed &)
TRT_DriftCircle.h
InDet::TRT_DriftCirclesSeed::add
void add(const InDet::TRT_DriftCircle *&)
Definition: TRT_DriftCirclesSeed.h:78
InDet::TRT_DriftCirclesSeed::~TRT_DriftCirclesSeed
virtual ~TRT_DriftCirclesSeed()
Definition: TRT_DriftCirclesSeed.h:63
InDet::TRT_DriftCirclesSeed::dump
virtual MsgStream & dump(MsgStream &out) const
Definition: TRT_DriftCirclesSeed.cxx:40
InDet::TRT_DriftCirclesSeed::driftCircles
const std::list< const InDet::TRT_DriftCircle * > & driftCircles() const
Definition: TRT_DriftCirclesSeed.h:68