CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Chi2MeasurementEstimatorForTrackerHits.h
Go to the documentation of this file.
1 #ifndef CommonDet_Chi2MeasurementEstimatorForTrackerHits_H
2 #define CommonDet_Chi2MeasurementEstimatorForTrackerHits_H
3 
6 
7 
15 class Chi2MeasurementEstimatorForTrackerHits GCC11_FINAL : public Chi2MeasurementEstimatorBase {
16 public:
17 
23  explicit Chi2MeasurementEstimatorForTrackerHits(double maxChi2, double nSigma = 3.) :
24  Chi2MeasurementEstimatorBase( maxChi2, nSigma), cacheUpToDate_(false) {}
25 
27  Chi2MeasurementEstimatorBase( est.chiSquaredCut(), est.nSigmaCut()),
28  cacheUpToDate_(false) {}
29 
30  void clearCache() { cacheUpToDate_ = false; }
31 
32  virtual std::pair<bool,double> estimate(const TrajectoryStateOnSurface&,
33  const TransientTrackingRecHit&) const;
34 
35  virtual Chi2MeasurementEstimatorForTrackerHits* clone() const {
36  return new Chi2MeasurementEstimatorForTrackerHits(*this);
37  }
38 private:
39  mutable bool cacheUpToDate_;
42 };
43 
44 #endif
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
virtual Chi2MeasurementEstimatorForTrackerHits * clone() const
Chi2MeasurementEstimatorForTrackerHits(const Chi2MeasurementEstimatorBase &est)
AlgebraicSymMatrix22 tsosMeasuredError_
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &) const =0
Chi2MeasurementEstimatorForTrackerHits(double maxChi2, double nSigma=3.)
ROOT::Math::SVector< double, 2 > AlgebraicVector2
Unlimited (trivial) bounds.