Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:39

0001 #ifndef CD_Chi2Strip1DEstimator_H_
0002 #define CD_Chi2Strip1DEstimator_H_
0003 
0004 /** \class Chi2Strip1DEstimator
0005  *  A Chi2 MeasurementEstimator that only uses the X coordinate
0006  *  in the measurement frame (the one perpendicular to the strip).
0007  *  Ported from ORCA.
0008  *
0009  *  \author todorov, cerati
0010  */
0011 
0012 #include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimatorBase.h"
0013 
0014 class Chi2Strip1DEstimator final : public Chi2MeasurementEstimatorBase {
0015 public:
0016   explicit Chi2Strip1DEstimator(double maxChi2, double nSigma = 3.) : Chi2MeasurementEstimatorBase(maxChi2, nSigma) {}
0017 
0018   std::pair<bool, double> estimate(const TrajectoryStateOnSurface&, const TrackingRecHit&) const override;
0019 
0020   Chi2Strip1DEstimator* clone() const override { return new Chi2Strip1DEstimator(*this); }
0021 };
0022 
0023 #endif  //CD_Chi2Strip1DEstimator_H_