1 #ifndef OuterEstimator_H 2 #define OuterEstimator_H 22 template <
typename Algo>
30 : theDetCompatibility(detCompatibility), theHitCompatibility(hitCompatibility) {}
35 return theHitCompatibility(hit) ? std::make_pair(
true, 1.) : std::make_pair(
false, 0.);
39 return theDetCompatibility(plane);
48 return theDetCompatibility.maximalLocalDisplacement(ts.
globalPosition(), plane);
~OuterEstimator() override
OuterDetCompatibility theDetCompatibility
GlobalPoint globalPosition() const
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
OuterHitCompat theHitCompatibility
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) 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