1 #include "CLHEP/Units/GlobalPhysicalConstants.h" 11 LogDebug(
"ConversionForwardEstimator")
12 <<
"ConversionForwardEstimator::estimate( const TrajectoryStateOnSurface& ts ...) " 16 std::pair<bool, double>
result;
20 float rhPhi =
gp.phi();
21 float rhR =
gp.perp();
31 float newdr =
sqrt(
pow(
dr_, 2) + 4. *
hit.localPositionError().yy());
32 float rMin = rLayer - newdr;
33 float rMax = rLayer + newdr;
34 float phiDiff = tsPhi - rhPhi;
44 if (phiDiff < thePhiRangeMax && phiDiff >
thePhiRangeMin && rhR < rMax && rhR >
rMin) {
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
GlobalPoint position() const
Geom::Phi< T > phi() const
const GlobalTrajectoryParameters & globalParameters() const
Vector2DBase< float, LocalTag > Local2DVector
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Power< A, B >::type pow(const A &a, const B &b)