CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/RecoTracker/SpecialSeedGenerators/interface/EtaPhiMeasurementEstimator.h

Go to the documentation of this file.
00001 #ifndef CommonDet_EtaPhiMeasurementEstimator_H
00002 #define CommonDet_EtaPhiMeasurementEstimator_H
00003 
00015 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h"
00016 
00017 class EtaPhiMeasurementEstimator : public Chi2MeasurementEstimatorBase {
00018 public:
00019 
00020   explicit EtaPhiMeasurementEstimator(double dEta, double dPhi) : 
00021     Chi2MeasurementEstimatorBase( 0.0, 0.0),
00022     thedEta(dEta),
00023     thedPhi(dPhi)
00024    {}
00025   ~EtaPhiMeasurementEstimator(){}
00026 
00027   std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
00028                                   const TransientTrackingRecHit&) const;
00029 
00030   virtual bool estimate(const TrajectoryStateOnSurface& tsos,
00031                         const BoundPlane& plane) const;
00032 
00033   virtual Local2DVector maximalLocalDisplacement( const TrajectoryStateOnSurface& tsos,
00034                                                    const BoundPlane& plane) const;
00035 
00036   EtaPhiMeasurementEstimator* clone() const {
00037     return new EtaPhiMeasurementEstimator(*this);
00038   }
00039  private:
00040   double thedEta;
00041   double thedPhi;
00042 
00043 };
00044 
00045 #endif