Go to the documentation of this file. 1 #ifndef GeometryVector_Geom_OnePiRange_h
2 #define GeometryVector_Geom_OnePiRange_h
80 template <
class T,
class Scalar>
85 template <
class T,
class Scalar>
97 template <
class T,
class Scalar>
103 template <
class T,
class Scalar>
109 template <
class T,
class Scalar>
123 return a.value() /
b.value();
OnePiRange & operator+=(const T &a)
OnePiRange< T > operator+(const OnePiRange< T > &a, const OnePiRange< T > &b)
Addition.
OnePiRange & operator/=(const T &a)
OnePiRange & operator-=(const T &a)
OnePiRange & operator*=(const T &a)
OnePiRange< T > operator*(const OnePiRange< T > &a, const Scalar &b)
Multiplication with scalar, does not change the precision.
OnePiRange< T > operator-(const OnePiRange< T > &a)
Tan< T >::type tan(const T &t)
T eta() const
Return the pseudorapidity.
OnePiRange()
Default constructor does not initialise - just as double.
T value() const
Explicit access to value in case implicit conversion not OK.
T operator/(const OnePiRange< T > &a, const OnePiRange< T > &b)
Division.
OnePiRange & operator-=(const OnePiRange &a)
OnePiRange(const T &val)
Constructor from T, does not provide automatic conversion.
OnePiRange & operator+=(const OnePiRange &a)