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.
4 
5 using namespace std;
6 
7 pair<bool,double>
9  const TransientTrackingRecHit& 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 std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TransientTrackingRecHit &aHit) const
implementation of MeasurementEstimator::estimate
virtual const GeomDetType & type() const =0
bool isTrackerPixel() const
Definition: GeomDetType.cc:30
virtual const GeomDetUnit * detUnit() const