CMS 3D CMS Logo

MuonBestMeasurementFinder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonBestMeasurementFinder_H
2 #define RecoMuon_TrackingTools_MuonBestMeasurementFinder_H
3 
17 #include <vector>
18 
19 class Propagator;
23 
25  typedef std::vector<TrajectoryMeasurement*> TMContainer;
26  typedef TMContainer::iterator TMIterator;
27 
28 public:
31 
34 
35  // Operations
36 
38  TrajectoryMeasurement* findBestMeasurement(std::vector<TrajectoryMeasurement>& measC, const Propagator* propagator);
39 
40  std::pair<double, int> lookAtSubRecHits(TrajectoryMeasurement* measurement, const Propagator* propagator);
41 
42  const MeasurementEstimator* estimator() const { return theEstimator; }
43 
44 protected:
45 private:
47 };
48 #endif
MeasurementEstimator
Definition: MeasurementEstimator.h:19
MuonBestMeasurementFinder::~MuonBestMeasurementFinder
virtual ~MuonBestMeasurementFinder()
Destructor.
Definition: MuonBestMeasurementFinder.cc:30
MuonTransientTrackingRecHit
Definition: MuonTransientTrackingRecHit.h:19
MuonBestMeasurementFinder::TMIterator
TMContainer::iterator TMIterator
Definition: MuonBestMeasurementFinder.h:26
Propagator
Definition: Propagator.h:44
TrackCandidateProducer_cfi.propagator
propagator
Definition: TrackCandidateProducer_cfi.py:17
MuonBestMeasurementFinder::estimator
const MeasurementEstimator * estimator() const
Definition: MuonBestMeasurementFinder.h:42
MuonBestMeasurementFinder::lookAtSubRecHits
std::pair< double, int > lookAtSubRecHits(TrajectoryMeasurement *measurement, const Propagator *propagator)
Definition: MuonBestMeasurementFinder.cc:80
MuonBestMeasurementFinder
Definition: MuonBestMeasurementFinder.h:24
MuonBestMeasurementFinder::TMContainer
std::vector< TrajectoryMeasurement * > TMContainer
Definition: MuonBestMeasurementFinder.h:25
MuonBestMeasurementFinder::MuonBestMeasurementFinder
MuonBestMeasurementFinder()
Constructor.
Definition: MuonBestMeasurementFinder.cc:28
MuonBestMeasurementFinder::theEstimator
const MeasurementEstimator * theEstimator
Definition: MuonBestMeasurementFinder.h:46
MuonBestMeasurementFinder::findBestMeasurement
TrajectoryMeasurement * findBestMeasurement(std::vector< TrajectoryMeasurement > &measC, const Propagator *propagator)
return the Tm with the best chi2: no cut applied.
Definition: MuonBestMeasurementFinder.cc:32
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25