32 if ( z > 0 )
return -
log((
tan(atan(r/z)/2.)));
33 return log(-(
tan(atan(r/z)/2.)));
42 if ( z>0 ) eta = -
log((
tan(atan(r/z)/2.)));
43 else eta =
log(-(
tan(atan(r/z)/2.)));
45 double theta = atan(r/z);
59 spread =
std::min(0.07, fabs(eta_max-eta));
66 if ( eta > 1.0 && eta < 1.1 ) range =
MTDEtaRange(eta+3.0*spread,eta-spread);
67 if ( eta < -1.0 && eta > -1.1 ) range =
MTDEtaRange(eta+spread,eta-3.0*spread);
Sin< T >::type sin(const T &t)
bool isInsideOut(const FreeTrajectoryState &fts) const
Geom::Theta< T > theta() const
const CurvilinearTrajectoryError & curvilinearError() const
Tan< T >::type tan(const T &t)
GlobalVector momentum() const
GlobalPoint position() const
float calculateEta(float r, float z)
MTDEtaRange trackingRange(const FreeTrajectoryState &fts) const
const AlgebraicSymMatrix55 & matrix() const
const BasicVectorType & basicVector() const
T dot(const Basic3DVector &rh) const
Scalar product, or "dot" product, with a vector of same type.