test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Chi2MeasurementEstimator.h
Go to the documentation of this file.
1 #ifndef CommonDet_Chi2MeasurementEstimator_H
2 #define CommonDet_Chi2MeasurementEstimator_H
3 
14 
16 public:
17 
23  explicit Chi2MeasurementEstimator(double maxChi2, double nSigma = 3.) :
24  Chi2MeasurementEstimatorBase( maxChi2, nSigma) {}
25 
26  virtual std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
27  const TrackingRecHit&) const;
28  template <unsigned int D> std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
29  const TrackingRecHit&) const;
30 
31  virtual Chi2MeasurementEstimator* clone() const {
32  return new Chi2MeasurementEstimator(*this);
33  }
34 
35 };
36 
37 #endif
virtual Chi2MeasurementEstimator * clone() const
Chi2MeasurementEstimator(double maxChi2, double nSigma=3.)
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &, const TrackingRecHit &) const