CMS 3D CMS Logo

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