CMS 3D CMS Logo

TrajectorySeedHitCandidate.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Tracking_TrajectorySeedHitCandidate_H_
2 
3 #define FastSimulation_Tracking_TrajectorySeedHitCandidate_H_
4 
16 
17 
19 
20 #include <vector>
21 
22 class TrackerTopology;
23 
25 {
26 public:
27 
30  theHit(0),
31  seedingLayer()
32 
33  {
34  }
35 
38 
40  inline const FastTrackerRecHit * hit() const { return theHit; }
41 
42  inline const TrackingLayer& getTrackingLayer() const
43  {
44  return seedingLayer;
45  }
46 
48  inline unsigned int subDetId() const { return seedingLayer.getSubDetNumber(); }
49 
51  inline unsigned int layerNumber() const { return seedingLayer.getLayerNumber(); }
52 
54  inline LocalPoint localPosition() const { return hit()->localPosition(); }
56  // bool isOnRequestedDet(const std::vector<unsigned int>& whichDet) const;
57 
58 
61 
62  return seedingLayer==other.seedingLayer;
63  }
64 
65 
66 
67 
68  private:
69 
72 
73 };
74 
75 #endif
76 
unsigned int getSubDetNumber() const
Definition: TrackingLayer.h:75
unsigned int getLayerNumber() const
Definition: TrackingLayer.h:85
virtual LocalPoint localPosition() const final
const FastTrackerRecHit * theHit
TrajectorySeedHitCandidate()
Default Constructor.
LocalPoint localPosition() const
The local position.
const FastTrackerRecHit * hit() const
The Hit itself.
unsigned int layerNumber() const
The Layer Number.
const TrackingLayer & getTrackingLayer() const
bool isOnTheSameLayer(const TrajectorySeedHitCandidate &other) const
Check if the hit is on one of the requested detector.
unsigned int subDetId() const
The subdet Id.