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;
PixelRecoRange< float > Range
Geom::Phi< T > phi() const
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
virtual GlobalPoint globalPosition() const
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Vector2DBase< float, LocalTag > Local2DVector
bool rangesIntersect(const Range &a, const Range &b)
GlobalPoint position() const
bool phiLess(float phi1, float phi2)
const GlobalTrajectoryParameters & globalParameters() const
virtual LocalError localPositionError() const =0