CMS 3D CMS Logo

Chi2Switching1DEstimator.h
Go to the documentation of this file.
1 #ifndef Chi2Switching1DEstimator_H_
2 #define Chi2Switching1DEstimator_H_
3 
16 
18 public:
19  explicit Chi2Switching1DEstimator(double aMaxChi2, double nSigma = 3.)
21  theLocalEstimator(aMaxChi2, nSigma),
22  theStripEstimator(aMaxChi2, nSigma) {}
23 
25  std::pair<bool, double> estimate(const TrajectoryStateOnSurface& aTsos, const TrackingRecHit& aHit) const override;
26 
27  Chi2Switching1DEstimator* clone() const override { return new Chi2Switching1DEstimator(*this); }
28 
29 private:
34 
35 private:
38 };
39 #endif //Chi2Switching1DEstimator_H_
const Chi2MeasurementEstimator theLocalEstimator
const Chi2Strip1DEstimator & stripEstimator() const
estimator for 1D hits (non-matched strips)
Chi2Switching1DEstimator * clone() const override
Chi2Switching1DEstimator(double aMaxChi2, double nSigma=3.)
const Chi2Strip1DEstimator theStripEstimator
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate
const Chi2MeasurementEstimator & localEstimator() const
estimator for 2D hits (matched or pixel)