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