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 
18 
19 #include <vector>
20 
21 class TrackerTopology;
22 
24 public:
27  : theHit(nullptr),
28  seedingLayer()
29 
30  {}
31 
34 
36  inline const FastTrackerRecHit* hit() const { return theHit; }
37 
38  inline const TrackingLayer& getTrackingLayer() const { return seedingLayer; }
39 
41  inline unsigned int subDetId() const { return seedingLayer.getSubDetNumber(); }
42 
44  inline unsigned int layerNumber() const { return seedingLayer.getLayerNumber(); }
45 
47  inline LocalPoint localPosition() const { return hit()->localPosition(); }
49  // bool isOnRequestedDet(const std::vector<unsigned int>& whichDet) const;
50 
53  return seedingLayer == other.seedingLayer;
54  }
55 
56 private:
59 };
60 
61 #endif
unsigned int getLayerNumber() const
Definition: TrackingLayer.h:59
unsigned int subDetId() const
The subdet Id.
bool isOnTheSameLayer(const TrajectorySeedHitCandidate &other) const
Check if the hit is on one of the requested detector.
const FastTrackerRecHit * hit() const
The Hit itself.
unsigned int getSubDetNumber() const
Definition: TrackingLayer.h:55
unsigned int layerNumber() const
The Layer Number.
const FastTrackerRecHit * theHit
TrajectorySeedHitCandidate()
Default Constructor.
const TrackingLayer & getTrackingLayer() const
LocalPoint localPosition() const override
LocalPoint localPosition() const
The local position.