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 
16 
18 public:
19 
25  explicit Chi2MeasurementEstimator(double maxChi2, double nSigma = 3.) :
26  Chi2MeasurementEstimatorBase( maxChi2, nSigma) {}
27 
28  virtual std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
29  const TransientTrackingRecHit&) const;
30  template <unsigned int D> std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
31  const TransientTrackingRecHit&) const;
32 
33  virtual Chi2MeasurementEstimator* clone() const {
34  return new Chi2MeasurementEstimator(*this);
35  }
36 
37 };
38 
39 #endif
virtual Chi2MeasurementEstimator * clone() const
Chi2MeasurementEstimator(double maxChi2, double nSigma=3.)
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const