1 #ifndef SiTrackerMRHTools_SimpleDAFHitCollector_h
2 #define SiTrackerMRHTools_SimpleDAFHitCollector_h
49 void Debug(
const std::vector<TrajectoryMeasurement> TM)
const;
57 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
60 auto const& clus = thit.firstClusterRef();
62 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
63 else if (clus.isPhase2())
64 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
65 else if (thit.isMatched()) {
66 LogDebug(
"MultiRecHitCollector") <<
" SiStripMatchedRecHit2D to check!!!";
67 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
68 }
else if (thit.isProjected()) {
69 edm::LogError(
"MultiRecHitCollector") <<
" ProjectedSiStripRecHit2D should not be present at this stage!!!";
70 return std::unique_ptr<TrackingRecHit>{hit.
clone()};
76 auto const& detU = *hit2D.
detUnit();
78 bool endcap = detU.type().isEndcap();
80 return std::unique_ptr<TrackingRecHit>{hit2D.
clone()};
81 return std::unique_ptr<TrackingRecHit>{
virtual int dimension() const =0
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
Log< level::Error, false > LogError
const TrackerTopology * theTopology
std::vector< TrajectoryMeasurement > recHits(const Trajectory &, const MeasurementTrackerEvent *theMTE) const override
const GeomDet * det() const
std::unique_ptr< TrackingRecHit > clone(BaseTrackerRecHit const &hit2D) const
const Propagator * thePropagator
const Propagator * getPropagator() const
SimpleDAFHitCollector(const TrackerTopology *trackerTopology, const MeasurementTracker *measurementTracker, const SiTrackerMultiRecHitUpdator *updator, const MeasurementEstimator *est, const Propagator *propagator, bool debug)
virtual TrackingRecHit * clone() const =0
LocalError localPositionError() const override
virtual OmniClusterRef const & firstClusterRef() const =0
TkClonerImpl theHitCloner
virtual const GeomDetUnit * detUnit() const
LocalPoint localPosition() const override
const TransientTrackingRecHitBuilder * getBuilder() const
~SimpleDAFHitCollector() override
const SiTrackerMultiRecHitUpdator * theUpdator