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>
8 Chi2Switching1DEstimator::estimate (const TrajectoryStateOnSurface& aTsos,
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 const GeomDetType & type() const =0
bool isTrackerPixel() const
Definition: GeomDetType.cc:30
virtual const GeomDetUnit * detUnit() const