File indexing completed on 2024-04-06 12:27:17
0001 #ifndef RecoMuon_TrackingTools_MuonBestMeasurementFinder_H
0002 #define RecoMuon_TrackingTools_MuonBestMeasurementFinder_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <vector>
0018
0019 class Propagator;
0020 class MeasurementEstimator;
0021 class TrajectoryMeasurement;
0022 class MuonTransientTrackingRecHit;
0023
0024 class MuonBestMeasurementFinder {
0025 typedef std::vector<TrajectoryMeasurement*> TMContainer;
0026 typedef TMContainer::iterator TMIterator;
0027
0028 public:
0029
0030 MuonBestMeasurementFinder();
0031
0032
0033 virtual ~MuonBestMeasurementFinder();
0034
0035
0036
0037
0038 TrajectoryMeasurement* findBestMeasurement(std::vector<TrajectoryMeasurement>& measC, const Propagator* propagator);
0039
0040 std::pair<double, int> lookAtSubRecHits(TrajectoryMeasurement* measurement, const Propagator* propagator);
0041
0042 const MeasurementEstimator* estimator() const { return theEstimator; }
0043
0044 protected:
0045 private:
0046 const MeasurementEstimator* theEstimator;
0047 };
0048 #endif