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; }
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
OuterDetCompatibility theDetCompatibility
GlobalPoint globalPosition() const
OuterHitCompat theHitCompatibility
const OuterHitCompat & hitCompatibility() const
OuterEstimator(const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility, const edm::EventSetup &iSetup)
OuterEstimator * clone() const override
const OuterDetCompatibility & detCompatibility() const