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 //
16 
17 #include <vector>
19 
20 class BaseSiStripRecHit2DLocalPos;
21 
22 class TrackingSeed {
23 
24 public:
25 
26  typedef std::vector<BaseSiStripRecHit2DLocalPos const*>::iterator iterator;
27  typedef std::vector<BaseSiStripRecHit2DLocalPos const*>::const_iterator const_iterator;
28 
30 
31  inline void addHit(BaseSiStripRecHit2DLocalPos const *input) { detHits_.push_back(input); }
32 
33  inline iterator begin() { return detHits_.begin();}
34  inline iterator end() { return detHits_.end();}
35 
36  inline const_iterator begin() const { return detHits_.begin();}
37  inline const_iterator end() const { return detHits_.end();}
38 
39  inline unsigned int size() const { return detHits_.size(); }
40 
41 private:
42 
43  std::vector<BaseSiStripRecHit2DLocalPos const*> detHits_;
44 
45 };
46 
47 #endif // DATAFORMATS_TRACKINGSEED_H
void addHit(BaseSiStripRecHit2DLocalPos const *input)
Definition: TrackingSeed.h:31
const_iterator end() const
Definition: TrackingSeed.h:37
static std::string const input
Definition: EdmProvDump.cc:43
const_iterator begin() const
Definition: TrackingSeed.h:36
std::vector< BaseSiStripRecHit2DLocalPos const * >::const_iterator const_iterator
Definition: TrackingSeed.h:27
std::vector< BaseSiStripRecHit2DLocalPos const * > detHits_
Definition: TrackingSeed.h:43
iterator end()
Definition: TrackingSeed.h:34
iterator begin()
Definition: TrackingSeed.h:33
unsigned int size() const
Definition: TrackingSeed.h:39
std::vector< BaseSiStripRecHit2DLocalPos const * >::iterator iterator
Definition: TrackingSeed.h:26