CMS 3D CMS Logo

TrackingSlaveSD.h
Go to the documentation of this file.
1 #ifndef TrackingSlaveSD_h
2 #define TrackingSlaveSD_h
3 
6 
7 #include <string>
8 #include <vector>
9 class SimTrackManager;
10 
12 public:
13  typedef std::vector<PSimHit> Collection;
14  typedef Collection::const_iterator const_iterator;
16  virtual ~TrackingSlaveSD();
17  virtual void Initialize();
18  // virtual void renumbering(const SimTrackManager*);
19  virtual bool processHits(const PSimHit &);
20  virtual bool format();
21  std::string name() const { return name_; }
22  std::vector<PSimHit> &hits() { return hits_; }
23  std::string type() { return "tk"; }
24  virtual const_iterator begin() { return hits_.begin(); }
25  virtual const_iterator end() { return hits_.end(); }
26 
27 protected:
28  std::vector<PSimHit> hits_;
29  void setTrackId(PSimHit &hit, unsigned int k);
30 
31 private:
33 };
34 
35 #endif
std::string type()
void setTrackId(PSimHit &hit, unsigned int k)
std::string name() const
virtual const_iterator end()
std::vector< PSimHit > & hits()
std::vector< PSimHit > hits_
virtual void Initialize()
Collection::const_iterator const_iterator
int k[5][pyjets_maxn]
TrackingSlaveSD(std::string)
virtual const_iterator begin()
virtual bool format()
virtual bool processHits(const PSimHit &)
std::string name_
virtual ~TrackingSlaveSD()
std::vector< PSimHit > Collection