1 #ifndef RecoMuon_TrackingTools_MuonTrajectoryUpdator_H 2 #define RecoMuon_TrackingTools_MuonTrajectoryUpdator_H 97 return a->det()->surface().position().perp() <
b->det()->surface().position().perp();
105 return a->det()->surface().position().perp() >
b->det()->surface().position().perp();
113 return fabs(
a->globalPosition().z()) < fabs(
b->globalPosition().z());
121 return fabs(
a->globalPosition().z()) > fabs(
b->globalPosition().z());
Ordering along decreasing radius (for DT rechits)
void makeFirstTime()
reset the theFirstTSOSFlag
Ordering along increasing zed (for CSC rechits)
NavigationDirection fitDirection()
get the fit direction
virtual ~MuonTrajectoryUpdator()
Destructor.
MuonTrajectoryUpdator(const edm::ParameterSet &par, NavigationDirection fitDirection)
Constructor from Propagator and Parameter set.
void sort(TransientTrackingRecHit::ConstRecHitContainer &, const DetLayer *)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
void setFitDirection(NavigationDirection fitDirection)
set fit direction
const TrajectoryStateUpdator * measurementUpdator() const
TrajectoryMeasurement updateMeasurement(const TrajectoryStateOnSurface &propagatedTSOS, const TrajectoryStateOnSurface &lastUpdatedTSOS, const TransientTrackingRecHit::ConstRecHitPointer &recHit, const double &chi2, const DetLayer *detLayer, const TrajectoryMeasurement *initialMeasurement)
Return the trajectory measurement. It handles both the fw and the bw propagation. ...
double theMaxChi2
the max chi2 allowed
std::vector< ConstRecHitPointer > ConstRecHitContainer
Ordering along increasing radius (for DT rechits)
double maxChi2() const
get the max chi2 allowed
bool operator()(const TransientTrackingRecHit::ConstRecHitPointer &a, const TransientTrackingRecHit::ConstRecHitPointer &b) const
TrajectoryStateUpdator * theUpdator
bool operator()(const TransientTrackingRecHit::ConstRecHitPointer &a, const TransientTrackingRecHit::ConstRecHitPointer &b) const
void setMaxChi2(double chi2)
set max chi2
const MeasurementEstimator * estimator() const
accasso at the propagator
virtual std::pair< bool, TrajectoryStateOnSurface > update(const TrajectoryMeasurement *measurement, Trajectory &trajectory, const Propagator *propagator)
update the Trajectory with the TrajectoryMeasurement
TrajectoryStateOnSurface propagateState(const TrajectoryStateOnSurface &state, const TrajectoryMeasurement *measurement, const TransientTrackingRecHit::ConstRecHitPointer ¤t, const Propagator *propagator) const
bool operator()(const TransientTrackingRecHit::ConstRecHitPointer &a, const TransientTrackingRecHit::ConstRecHitPointer &b) const
NavigationDirection theFitDirection
Ordering along decreasing zed (for CSC rechits)
bool operator()(const TransientTrackingRecHit::ConstRecHitPointer &a, const TransientTrackingRecHit::ConstRecHitPointer &b) const
MeasurementEstimator * theEstimator