1 #ifndef OuterEstimator_H 2 #define OuterEstimator_H 24 template<
typename Algo>
35 : theDetCompatibility(detCompatibility),
36 theHitCompatibility (hitCompatibility) { }
44 return theHitCompatibility(hit) ? std::make_pair(
true,1.) : std::make_pair(
false,0.) ;
51 return theDetCompatibility(plane);
62 return theDetCompatibility.maximalLocalDisplacement(
67 {
return theDetCompatibility; }
69 {
return theHitCompatibility; }
OuterDetCompatibility theDetCompatibility
GlobalPoint globalPosition() const
OuterHitCompat theHitCompatibility
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
OuterEstimator * clone() const override
const OuterHitCompat & hitCompatibility() const
OuterEstimator(const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility, const edm::EventSetup &iSetup)
bool estimate(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
const OuterDetCompatibility & detCompatibility() const