CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h

Go to the documentation of this file.
00001 #ifndef CommonDet_Chi2MeasurementEstimator_H
00002 #define CommonDet_Chi2MeasurementEstimator_H
00003 
00015 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h"
00016 
00017 class Chi2MeasurementEstimator : public Chi2MeasurementEstimatorBase {
00018 public:
00019 
00025   explicit Chi2MeasurementEstimator(double maxChi2, double nSigma = 3.) : 
00026     Chi2MeasurementEstimatorBase( maxChi2, nSigma) {}
00027 
00028   virtual std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
00029                                      const TransientTrackingRecHit&) const;
00030   template <unsigned int D> std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
00031                                      const TransientTrackingRecHit&) const;
00032 
00033   virtual Chi2MeasurementEstimator* clone() const {
00034     return new Chi2MeasurementEstimator(*this);
00035   }
00036 
00037 };
00038 
00039 #endif