test
CMS 3D CMS Logo

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