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
TrackingSlaveSD::setTrackId
void setTrackId(PSimHit &hit, unsigned int k)
Definition: TrackingSlaveSD.cc:59
TrackingSlaveSD::Collection
std::vector< PSimHit > Collection
Definition: TrackingSlaveSD.h:13
SimTrackManager
Definition: SimTrackManager.h:35
TrackingSlaveSD::hits_
std::vector< PSimHit > hits_
Definition: TrackingSlaveSD.h:28
TrackingSlaveSD::name_
std::string name_
Definition: TrackingSlaveSD.h:32
PSimHitContainer.h
PSimHit.h
TrackingSlaveSD::const_iterator
Collection::const_iterator const_iterator
Definition: TrackingSlaveSD.h:14
TrackingSlaveSD::TrackingSlaveSD
TrackingSlaveSD(std::string)
Definition: TrackingSlaveSD.cc:11
dqmdumpme.k
k
Definition: dqmdumpme.py:60
TrackingSlaveSD::end
virtual const_iterator end()
Definition: TrackingSlaveSD.h:25
TrackingSlaveSD::Initialize
virtual void Initialize()
Definition: TrackingSlaveSD.cc:17
TrackingSlaveSD::type
std::string type()
Definition: TrackingSlaveSD.h:23
TrackingSlaveSD::begin
virtual const_iterator begin()
Definition: TrackingSlaveSD.h:24
TrackingSlaveSD::processHits
virtual bool processHits(const PSimHit &)
Definition: TrackingSlaveSD.cc:52
TrackingSlaveSD
Definition: TrackingSlaveSD.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackingSlaveSD::~TrackingSlaveSD
virtual ~TrackingSlaveSD()
Definition: TrackingSlaveSD.cc:15
TrackingSlaveSD::name
std::string name() const
Definition: TrackingSlaveSD.h:21
TrackingSlaveSD::hits
std::vector< PSimHit > & hits()
Definition: TrackingSlaveSD.h:22
PSimHit
Definition: PSimHit.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88
TrackingSlaveSD::format
virtual bool format()
Definition: TrackingSlaveSD.cc:46