CMS 3D CMS Logo

Chi2Switching1DEstimator.cc
Go to the documentation of this file.
5 using namespace std;
6 
8  const TrackingRecHit& aHit) const {
9  if ( //aHit.isMatched() ||
10  aHit.detUnit()->type().isTrackerPixel()) {
11  return localEstimator().estimate(aTsos, aHit);
12  } else {
13  return stripEstimator().estimate(aTsos, aHit);
14  }
15 }
virtual const GeomDetType & type() const
Definition: GeomDet.cc:69
bool isTrackerPixel() const
Definition: GeomDetType.cc:15
virtual const GeomDetUnit * detUnit() const
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate