CMS 3D CMS Logo

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 }
GeomDet::type
virtual const GeomDetType & type() const
Definition: GeomDet.cc:69
GeomDetType.h
TransientTrackingRecHit.h
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition: GeomDetType.cc:15
Chi2Switching1DEstimator::estimate
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate
Definition: Chi2Switching1DEstimator.cc:7
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrackingRecHit
Definition: TrackingRecHit.h:21
GeomDet.h
std
Definition: JetResolutionObject.h:76
Chi2Switching1DEstimator.h
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition: TrackingRecHit.cc:29