CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/TrackingTools/GsfTracking/interface/GsfChi2MeasurementEstimator.h

Go to the documentation of this file.
00001 #ifndef GsfChi2MeasurementEstimator_H
00002 #define GsfChi2MeasurementEstimator_H
00003 
00004 // #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h"
00005 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h"
00006 #include <utility>
00007 
00015 class GsfChi2MeasurementEstimator : public Chi2MeasurementEstimatorBase {
00016 public:
00017 
00018   GsfChi2MeasurementEstimator() : 
00019     Chi2MeasurementEstimatorBase(100.),
00020     theEstimator(100.) {}
00021 
00022   GsfChi2MeasurementEstimator(double aMaxChi2) : 
00023     Chi2MeasurementEstimatorBase(aMaxChi2),
00024     theEstimator(aMaxChi2) {}
00025 
00026   virtual std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
00027                                           const TransientTrackingRecHit&) const;
00028 
00029   virtual GsfChi2MeasurementEstimator* clone() const {
00030     return new GsfChi2MeasurementEstimator(*this);
00031   }
00032 
00033 private:
00034   Chi2MeasurementEstimator theEstimator;
00035 };
00036 
00037 #endif