1 #ifndef SiTrackerMRHTools_SimpleDAFHitCollector_h 2 #define SiTrackerMRHTools_SimpleDAFHitCollector_h 44 void Debug(
const std::vector<TrajectoryMeasurement> TM )
const;
52 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
56 if (clus.isPixel())
return std::unique_ptr<TrackingRecHit>{hit.
clone()};
57 else if (clus.isPhase2())
return std::unique_ptr<TrackingRecHit>{hit.
clone()};
58 else if (thit.isMatched()) {
59 LogDebug(
"MultiRecHitCollector") <<
" SiStripMatchedRecHit2D to check!!!";
60 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
61 }
else if (thit.isProjected()) {
62 edm::LogError(
"MultiRecHitCollector") <<
" ProjectedSiStripRecHit2D should not be present at this stage!!!";
63 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
64 }
else return clone(thit);
68 auto const & detU = *hit2D.
detUnit();
70 bool endcap = detU.type().isEndcap();
71 if (endcap)
return std::unique_ptr<TrackingRecHit>{hit2D.
clone()};
72 return std::unique_ptr<TrackingRecHit>{
virtual ~SimpleDAFHitCollector()
void Debug(const std::vector< TrajectoryMeasurement > TM) const
const MeasurementEstimator * getEstimator() const
const SiTrackerMultiRecHitUpdator * getUpdator() const
std::unique_ptr< TrackingRecHit > rightdimension(TrackingRecHit const &hit) const
const MeasurementEstimator * theEstimator
const TrackerTopology * theTopology
const GeomDet * det() const
virtual int dimension() const =0
std::unique_ptr< TrackingRecHit > clone(BaseTrackerRecHit const &hit2D) const
virtual TrackingRecHit * clone() const =0
const Propagator * thePropagator
const Propagator * getPropagator() const
virtual LocalPoint localPosition() const final
SimpleDAFHitCollector(const TrackerTopology *trackerTopology, const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator, bool debug)
virtual std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMTE) const override
TkClonerImpl theHitCloner
virtual const GeomDetUnit * detUnit() const
virtual OmniClusterRef const & firstClusterRef() const =0
const TransientTrackingRecHitBuilder * getBuilder() const
virtual LocalError localPositionError() const final
const SiTrackerMultiRecHitUpdator * theUpdator