1 #include "CLHEP/Units/GlobalPhysicalConstants.h"
14 std::pair<bool,double>
result;
20 float rhPhi = gp.
phi();
25 float phiDiff = tsPhi - rhPhi;
26 if (phiDiff >
pi) phiDiff -= twopi;
27 if (phiDiff < -
pi) phiDiff += twopi;
43 zDiff < zrange && zDiff > -zrange) {
51 result.second=phiDiff;
71 typedef std::pair<float,float>
Range;
Vector2DBase< float, LocalTag > Local2DVector
Geom::Phi< T > phi() const
virtual GlobalPoint globalPosition() const
bool rangesIntersect(const Range &a, const Range &b)
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
GlobalPoint position() const
PixelRecoRange< float > Range
const GlobalTrajectoryParameters & globalParameters() const
virtual LocalError localPositionError() const =0
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const