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();
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) {
51 result.second = phiDiff;
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Geom::Phi< T > phi() const
virtual GlobalPoint globalPosition() const
Vector2DBase< float, LocalTag > Local2DVector
GlobalPoint position() const
const GlobalTrajectoryParameters & globalParameters() const
virtual LocalError localPositionError() const =0
Power< A, B >::type pow(const A &a, const B &b)