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