diff --git a/Tracking/TrkExtrapolation/TrkExSolenoidalIntersector/TrkExSolenoidalIntersector/SolenoidalIntersector.h b/Tracking/TrkExtrapolation/TrkExSolenoidalIntersector/TrkExSolenoidalIntersector/SolenoidalIntersector.h index 18b99f88edde2e511837abc500b009087ce2a991..564c70e8c37bf6f33878072b42c355cc8be0bac8 100755 --- a/Tracking/TrkExtrapolation/TrkExSolenoidalIntersector/TrkExSolenoidalIntersector/SolenoidalIntersector.h +++ b/Tracking/TrkExtrapolation/TrkExSolenoidalIntersector/TrkExSolenoidalIntersector/SolenoidalIntersector.h @@ -128,7 +128,7 @@ SolenoidalIntersector::circularArcLength(double endRadius, double& cosPhiIntersect, double& sinPhiIntersect) { - int m_trapped = 0; + int trapped = 0; double radiusSquared = xCentre*xCentre + yCentre*yCentre; double term = 0.5*(radiusSquared + radiusOfCurvature*radiusOfCurvature - @@ -138,7 +138,7 @@ SolenoidalIntersector::circularArcLength(double endRadius, double dx2 = yCentre*yCentre * (1./(radiusSquared*term*term) - 1.); if (dx2 < 0.) { - m_trapped = 1; + trapped = 1; } else { @@ -158,7 +158,7 @@ SolenoidalIntersector::circularArcLength(double endRadius, double dy2 = xCentre*xCentre * (1./(radiusSquared*term*term) - 1.); if (dy2 < 0.) { - m_trapped = 1; + trapped = 1; } else { @@ -173,7 +173,7 @@ SolenoidalIntersector::circularArcLength(double endRadius, sinPhiIntersect = (cosPhiIntersect*yCentre - radiusSquared*term)/xCentre; } } - if (m_trapped == 0) + if (trapped == 0) { double deltaPhi; double sinDeltaPhi = sinPhiIntersect*cosPhi - cosPhiIntersect*sinPhi;