CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate
virtual const GeomDetUnit * detUnit() const