CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GeomDetCompatibilityChecker.cc
Go to the documentation of this file.
3 
4 using namespace std;
5 
6 pair<bool, TrajectoryStateOnSurface>
8  const TrajectoryStateOnSurface& tsos,
9  const Propagator& prop,
10  const MeasurementEstimator& est) {
11  TrajectoryStateOnSurface propSt = prop.propagate( tsos, theDet->specificSurface());
12  if ( propSt.isValid()) {
13  if ( est.estimate( propSt, theDet->specificSurface()) ) {
14  return make_pair( true, propSt);
15  }
16  }
17  return make_pair( false, propSt);
18 }
19 
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const =0
static std::pair< bool, TrajectoryStateOnSurface > isCompatible(const GeomDet *theDet, const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est)
const BoundPlane & specificSurface() const
Same as surface(), kept for backward compatibility.
Definition: GeomDet.h:38
virtual TrajectoryStateOnSurface propagate(const FreeTrajectoryState &, const Surface &) const
Definition: Propagator.cc:12