test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
13 public:
14  typedef std::vector<PSimHit> Collection;
15  typedef Collection::const_iterator const_iterator;
17  virtual ~TrackingSlaveSD();
18  virtual void Initialize();
19  // virtual void renumbering(const SimTrackManager*);
20  virtual bool processHits(const PSimHit&);
21  virtual bool format();
22  std::string name() const { return name_; }
23  std::vector<PSimHit>& hits(){return hits_;}
24  std::string type(){return "tk";}
25  virtual const_iterator begin() { return hits_.begin();}
26  virtual const_iterator end() { return hits_.end();}
27 
28 protected:
29  std::vector<PSimHit> hits_;
30  void setTrackId(PSimHit & hit, unsigned int k);
31 private:
33 };
34 
35 #endif
36 
37 
38 
39 
40 
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
TrackingSlaveSD(std::string)
virtual const_iterator begin()
virtual bool format()
virtual bool processHits(const PSimHit &)
std::string name_
virtual ~TrackingSlaveSD()
std::vector< PSimHit > Collection