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
TrackerTopology
Definition: TrackerTopology.h:16
GeomDetType.h
FastProjectedTrackerRecHit.h
FastTrackerRecHit
Definition: FastTrackerRecHit.h:40
TrackingRecHitFwd.h
TrajectorySeedHitCandidate
Definition: TrajectorySeedHitCandidate.h:23
TrajectorySeedHitCandidate::hit
const FastTrackerRecHit * hit() const
The Hit itself.
Definition: TrajectorySeedHitCandidate.h:36
TrajectorySeedHitCandidate::TrajectorySeedHitCandidate
TrajectorySeedHitCandidate()
Default Constructor.
Definition: TrajectorySeedHitCandidate.h:26
TrajectorySeedHitCandidate::subDetId
unsigned int subDetId() const
The subdet Id.
Definition: TrajectorySeedHitCandidate.h:41
trackingPlots.other
other
Definition: trackingPlots.py:1465
Point3DBase< float, LocalTag >
TrackingLayer::getSubDetNumber
unsigned int getSubDetNumber() const
Definition: TrackingLayer.h:55
TrackingLayer.h
TrajectorySeedHitCandidate::isOnTheSameLayer
bool isOnTheSameLayer(const TrajectorySeedHitCandidate &other) const
Check if the hit is on one of the requested detector.
Definition: TrajectorySeedHitCandidate.h:52
TrajectorySeedHitCandidate::localPosition
LocalPoint localPosition() const
The local position.
Definition: TrajectorySeedHitCandidate.h:47
FastSingleTrackerRecHit.h
BaseTrackerRecHit::localPosition
LocalPoint localPosition() const final
Definition: BaseTrackerRecHit.h:54
TrajectorySeedHitCandidate::seedingLayer
TrackingLayer seedingLayer
Definition: TrajectorySeedHitCandidate.h:58
GeomDet.h
TrackingLayer
Definition: TrackingLayer.h:9
DetId.h
LocalPoint.h
TrajectorySeedHitCandidate::layerNumber
unsigned int layerNumber() const
The Layer Number.
Definition: TrajectorySeedHitCandidate.h:44
TrajectorySeedHitCandidate::theHit
const FastTrackerRecHit * theHit
Definition: TrajectorySeedHitCandidate.h:57
TrackingLayer::getLayerNumber
unsigned int getLayerNumber() const
Definition: TrackingLayer.h:59
FastMatchedTrackerRecHit.h
FastTrackerRecHit.h
TrajectorySeedHitCandidate::getTrackingLayer
const TrackingLayer & getTrackingLayer() const
Definition: TrajectorySeedHitCandidate.h:38
GlobalPoint.h
StripSubdetector.h
hit
Definition: SiStripHitEffFromCalibTree.cc:88