CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingSeed.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_TRACKINGSEED_H
2 #define DATAFORMATS_TRACKINGSEED_H
3 
4 //
5 // Package: DataFormats/TrackingSeed
6 // Class: TrackingSeed
7 //
8 // Description: TrackingSeed represents the
9 // initial trajectory for
10 // track reconstruction
11 //
12 // Original Author: Oliver Gutsche, gutsche@fnal.gov
13 // Created: Sat Jan 14 22:00:00 UTC 2006
14 //
15 // $Author: wmtan $
16 // $Date: 2006/12/26 20:41:24 $
17 // $Revision: 1.5 $
18 //
19 
20 #include <vector>
22 
23 class BaseSiStripRecHit2DLocalPos;
24 
25 class TrackingSeed {
26 
27 public:
28 
29  typedef std::vector<BaseSiStripRecHit2DLocalPos const*>::iterator iterator;
30  typedef std::vector<BaseSiStripRecHit2DLocalPos const*>::const_iterator const_iterator;
31 
33 
34  inline void addHit(BaseSiStripRecHit2DLocalPos const *input) { detHits_.push_back(input); }
35 
36  inline iterator begin() { return detHits_.begin();}
37  inline iterator end() { return detHits_.end();}
38 
39  inline const_iterator begin() const { return detHits_.begin();}
40  inline const_iterator end() const { return detHits_.end();}
41 
42  inline unsigned int size() const { return detHits_.size(); }
43 
44 private:
45 
46  std::vector<BaseSiStripRecHit2DLocalPos const*> detHits_;
47 
48 };
49 
50 #endif // DATAFORMATS_TRACKINGSEED_H
void addHit(BaseSiStripRecHit2DLocalPos const *input)
Definition: TrackingSeed.h:34
const_iterator end() const
Definition: TrackingSeed.h:40
const_iterator begin() const
Definition: TrackingSeed.h:39
std::vector< BaseSiStripRecHit2DLocalPos const * >::const_iterator const_iterator
Definition: TrackingSeed.h:30
std::vector< BaseSiStripRecHit2DLocalPos const * > detHits_
Definition: TrackingSeed.h:46
iterator end()
Definition: TrackingSeed.h:37
iterator begin()
Definition: TrackingSeed.h:36
unsigned int size() const
Definition: TrackingSeed.h:42
std::vector< BaseSiStripRecHit2DLocalPos const * >::iterator iterator
Definition: TrackingSeed.h:29