![]() |
![]() |
#include <extBasic3DVector.h>
Public Types | |
typedef Geom::Cylindrical2Cartesian< T > | Cylindrical |
typedef Geom::Cylindrical2Cartesian< T > | Cylindrical |
typedef Geom::Cylindrical2Cartesian< T > | Cylindrical |
typedef Vec4< T > | MathVector |
typedef Basic3DVector< T > | MathVector |
typedef mathSSE::Vec4< T > | MathVector |
typedef Spherical | Polar |
typedef Spherical | Polar |
typedef Spherical | Polar |
typedef T | ScalarType |
typedef T | ScalarType |
typedef T | ScalarType |
typedef Geom::Spherical2Cartesian< T > | Spherical |
typedef Geom::Spherical2Cartesian< T > | Spherical |
typedef Geom::Spherical2Cartesian< T > | Spherical |
typedef mathSSE::Vec4< T > | VectorType |
typedef Vec4< T > | VectorType |
Public Member Functions | |
T | barePhi () const |
T | barePhi () const |
T | bareTheta () const |
T | bareTheta () const |
Basic3DVector () | |
Basic3DVector (const Basic2DVector< T > &p) | |
constructor from 2D vector (X and Y from 2D vector, z set to zero) | |
template<class OtherPoint > | |
Basic3DVector (const OtherPoint &p) | |
Basic3DVector (const T &x, const T &y, const T &z, const T &w=0) | |
construct from cartesian coordinates | |
Basic3DVector () | |
Basic3DVector (const Basic3DVector &p) | |
Copy constructor from same type. Should not be needed but for gcc bug 12685. | |
template<class U > | |
Basic3DVector (const Basic3DVector< U > &p) | |
Copy constructor and implicit conversion from Basic3DVector of different precision. | |
Basic3DVector (const Basic2DVector< T > &p) | |
constructor from 2D vector (X and Y from 2D vector, z set to zero) | |
template<typename U > | |
Basic3DVector (const Geom::Theta< U > &theta, const Geom::Phi< U > &phi, const T &r) | |
template<class OtherPoint > | |
Basic3DVector (const OtherPoint &p) | |
template<class U > | |
Basic3DVector (mathSSE::Vec4< U > const &iv) | |
Basic3DVector (const T &x, const T &y, const T &z, const T &w=0) | |
construct from cartesian coordinates | |
template<typename U > | |
Basic3DVector (const Geom::Theta< U > &theta, const Geom::Phi< U > &phi, const T &r) | |
Basic3DVector () | |
Basic3DVector (const Basic3DVector &p) | |
Copy constructor from same type. Should not be needed but for gcc bug 12685. | |
template<class U > | |
Basic3DVector (const Basic3DVector< U > &p) | |
Copy constructor and implicit conversion from Basic3DVector of different precision. | |
Basic3DVector | cross (const Basic3DVector &v) const |
Vector product, or "cross" product, with a vector of same type. | |
Basic3DVector | cross (const Basic3DVector &lh) const |
Vector product, or "cross" product, with a vector of same type. | |
template<class U > | |
Basic3DVector< typename PreciseFloatType< T, U >::Type > | cross (const Basic3DVector< U > &v) const |
template<class U > | |
Basic3DVector< typename PreciseFloatType< T, U >::Type > | cross (const Basic3DVector< U > &lh) const |
Basic3DVector | cross (const Basic3DVector &lh) const |
Vector product, or "cross" product, with a vector of same type. | |
template<class U > | |
Basic3DVector< typename PreciseFloatType< T, U >::Type > | cross (const Basic3DVector< U > &lh) const |
U::Type | dot (const Basic3DVector< U > &lh) const |
T | dot (const Basic3DVector &v) const |
Scalar product, or "dot" product, with a vector of same type. | |
template<class U > | |
PreciseFloatType< T, U >::Type | dot (const Basic3DVector< U > &v) const |
T | dot (const Basic3DVector &rh) const |
Scalar product, or "dot" product, with a vector of same type. | |
template<class U > | |
PreciseFloatType< T, U >::Type | dot (const Basic3DVector< U > &lh) const |
T | eta () const |
T | eta () const |
T | mag () const |
The vector magnitude. Equivalent to sqrt(vec.mag2()) | |
T | mag () const |
The vector magnitude. Equivalent to sqrt(vec.mag2()) | |
T | mag2 () const |
The vector magnitude squared. Equivalent to vec.dot(vec) | |
T | mag2 () const |
The vector magnitude squared. Equivalent to vec.dot(vec) | |
MathVector const & | mathVector () const |
MathVector & | mathVector () |
Basic3DVector & | operator*= (T t) |
Scaling by a scalar value (multiplication) | |
Basic3DVector & | operator*= (T t) |
Scaling by a scalar value (multiplication) | |
template<class U > | |
Basic3DVector & | operator+= (const Basic3DVector< U > &p) |
template<class U > | |
Basic3DVector & | operator+= (const Basic3DVector< U > &p) |
Basic3DVector | operator- () const |
Unary minus, returns a vector with components (-x(),-y(),-z()) | |
Basic3DVector | operator- () const |
Unary minus, returns a vector with components (-x(),-y(),-z()) | |
template<class U > | |
Basic3DVector & | operator-= (const Basic3DVector< U > &p) |
template<class U > | |
Basic3DVector & | operator-= (const Basic3DVector< U > &p) |
Basic3DVector & | operator/= (T t) |
Scaling by a scalar value (division) | |
Basic3DVector & | operator/= (T t) |
Scaling by a scalar value (division) | |
bool | operator== (const Basic3DVector &rh) const |
bool | operator== (const Basic3DVector &rh) const |
T | operator[] (int i) const |
T & | operator[] (int i) |
T | operator[] (int i) const |
T & | operator[] (int i) |
T | perp () const |
Magnitude of transverse component. | |
T | perp () const |
Magnitude of transverse component. | |
T | perp2 () const |
Squared magnitude of transverse component. | |
T | perp2 () const |
Squared magnitude of transverse component. | |
Geom::Phi< T > | phi () const |
Geom::Phi< T > | phi () const |
Geom::Theta< T > | theta () const |
Geom::Theta< T > | theta () const |
T | transverse () const |
Another name for perp() | |
T | transverse () const |
Another name for perp() | |
Basic3DVector | unit () const |
Basic3DVector | unit () const |
T | w () const |
T | w () const |
T | x () const |
Cartesian x coordinate. | |
T | x () const |
Cartesian x coordinate. | |
Basic2DVector< T > | xy () const |
Basic2DVector< T > | xy () const |
T | y () const |
Cartesian y coordinate. | |
T | y () const |
Cartesian y coordinate. | |
T | z () const |
Cartesian z coordinate. | |
T | z () const |
Cartesian z coordinate. | |
Public Attributes | |
Vec4< T > | v |
mathSSE::Vec4< T > | v |
Private Attributes | |
T | theW |
T | theX |
T | theY |
T | theZ |
Definition at line 24 of file extBasic3DVector.h.
typedef Geom::Cylindrical2Cartesian<T> Basic3DVector< T >::Cylindrical |
Definition at line 30 of file extBasic3DVector.h.
typedef Geom::Cylindrical2Cartesian<T> Basic3DVector< T >::Cylindrical |
Definition at line 35 of file oldBasic3DVector.h.
typedef Geom::Cylindrical2Cartesian<T> Basic3DVector< T >::Cylindrical |
Definition at line 30 of file sseBasic3DVector.h.
typedef Vec4<T> Basic3DVector< T >::MathVector |
Definition at line 29 of file extBasic3DVector.h.
typedef Basic3DVector<T> Basic3DVector< T >::MathVector |
Definition at line 31 of file oldBasic3DVector.h.
typedef mathSSE::Vec4<T> Basic3DVector< T >::MathVector |
Definition at line 29 of file sseBasic3DVector.h.
typedef Spherical Basic3DVector< T >::Polar |
Definition at line 32 of file sseBasic3DVector.h.
typedef Spherical Basic3DVector< T >::Polar |
Definition at line 37 of file oldBasic3DVector.h.
typedef Spherical Basic3DVector< T >::Polar |
Definition at line 32 of file extBasic3DVector.h.
typedef T Basic3DVector< T >::ScalarType |
Definition at line 34 of file oldBasic3DVector.h.
typedef T Basic3DVector< T >::ScalarType |
Definition at line 27 of file sseBasic3DVector.h.
typedef T Basic3DVector< T >::ScalarType |
Definition at line 27 of file extBasic3DVector.h.
typedef Geom::Spherical2Cartesian<T> Basic3DVector< T >::Spherical |
Definition at line 31 of file sseBasic3DVector.h.
typedef Geom::Spherical2Cartesian<T> Basic3DVector< T >::Spherical |
Definition at line 31 of file extBasic3DVector.h.
typedef Geom::Spherical2Cartesian<T> Basic3DVector< T >::Spherical |
Definition at line 36 of file oldBasic3DVector.h.
typedef mathSSE::Vec4<T> Basic3DVector< T >::VectorType |
Definition at line 28 of file sseBasic3DVector.h.
typedef Vec4<T> Basic3DVector< T >::VectorType |
Definition at line 28 of file extBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | ) | [inline] |
default constructor uses default constructor of T to initialize the components. For built-in floating-point types this means initialization to zero??? (force init to 0)
Definition at line 38 of file extBasic3DVector.h.
Referenced by Basic3DVector< long double >::cross(), Basic3DVector< align::Scalar >::cross(), Basic3DVector< align::Scalar >::operator-(), and Basic3DVector< long double >::operator-().
: v{0,0,0,0} {}
Basic3DVector< T >::Basic3DVector | ( | ) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const Basic3DVector< T > & | p | ) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const Basic3DVector< U > & | p | ) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const Basic2DVector< T > & | p | ) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const OtherPoint & | p | ) | [inline, explicit] |
Explicit constructor from other (possibly unrelated) vector classes The only constraint on the argument type is that it has methods x(), y() and z(), and that these methods return a type convertible to T. Examples of use are
construction from a Basic3DVector with different precision
construction from a Hep3Vector
construction from a coordinate system converter
Definition at line 67 of file oldBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | const T & | x, |
const T & | y, | ||
const T & | z, | ||
const T & | w = 0 |
||
) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const Geom::Theta< U > & | theta, |
const Geom::Phi< U > & | phi, | ||
const T & | r | ||
) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | ) | [inline] |
default constructor uses default constructor of T to initialize the components. For built-in floating-point types this means initialization to zero??? (force init to 0)
Definition at line 38 of file sseBasic3DVector.h.
{}
Basic3DVector< T >::Basic3DVector | ( | const Basic3DVector< T > & | p | ) | [inline] |
Copy constructor from same type. Should not be needed but for gcc bug 12685.
Definition at line 41 of file sseBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | const Basic3DVector< U > & | p | ) | [inline] |
Copy constructor and implicit conversion from Basic3DVector of different precision.
Definition at line 46 of file sseBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | const Basic2DVector< T > & | p | ) | [inline] |
constructor from 2D vector (X and Y from 2D vector, z set to zero)
Definition at line 51 of file sseBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | const OtherPoint & | p | ) | [inline, explicit] |
Explicit constructor from other (possibly unrelated) vector classes The only constraint on the argument type is that it has methods x(), y() and z(), and that these methods return a type convertible to T. Examples of use are
construction from a Basic3DVector with different precision
construction from a Hep3Vector
construction from a coordinate system converter
Definition at line 64 of file sseBasic3DVector.h.
Basic3DVector< T >::Basic3DVector | ( | mathSSE::Vec4< U > const & | iv | ) | [inline] |
Definition at line 70 of file sseBasic3DVector.h.
: v(iv){}
Basic3DVector< T >::Basic3DVector | ( | const T & | x, |
const T & | y, | ||
const T & | z, | ||
const T & | w = 0 |
||
) | [inline] |
Basic3DVector< T >::Basic3DVector | ( | const Geom::Theta< U > & | theta, |
const Geom::Phi< U > & | phi, | ||
const T & | r | ||
) | [inline] |
T Basic3DVector< T >::barePhi | ( | ) | const [inline] |
Azimuthal angle. The value is returned in radians, in the range (-pi,pi]. Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 152 of file oldBasic3DVector.h.
Referenced by PV3DBase< long double, PointTag, GlobalTag >::barePhi(), Basic3DVector< align::Scalar >::phi(), and Basic3DVector< long double >::phi().
T Basic3DVector< T >::barePhi | ( | ) | const [inline] |
Azimuthal angle. The value is returned in radians, in the range (-pi,pi]. Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 130 of file sseBasic3DVector.h.
T Basic3DVector< T >::bareTheta | ( | ) | const [inline] |
Polar angle. The value is returned in radians, in the range [0,pi] Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 159 of file oldBasic3DVector.h.
Referenced by PV3DBase< long double, PointTag, GlobalTag >::bareTheta().
T Basic3DVector< T >::bareTheta | ( | ) | const [inline] |
Polar angle. The value is returned in radians, in the range [0,pi] Same precision as the system atan2(x,y) function. The return type is Geom::Phi<T>, see it's documentation.
Definition at line 137 of file sseBasic3DVector.h.
Basic3DVector Basic3DVector< T >::cross | ( | const Basic3DVector< T > & | lh | ) | const [inline] |
Vector product, or "cross" product, with a vector of same type.
Definition at line 210 of file extBasic3DVector.h.
Referenced by Vector3DBase< Scalar, GlobalTag >::cross(), Basic3DVector< align::Scalar >::cross(), PFDisplacedVertexFinder::getTransvDiff(), and TkRotation< align::Scalar >::TkRotation().
{ return ::cross3(v,lh.v); }
Basic3DVector<typename PreciseFloatType<T,U>::Type> Basic3DVector< T >::cross | ( | const Basic3DVector< U > & | lh | ) | const [inline] |
Vector (or cross) product with a vector of different precision. The product is computed without loss of precision. The type of the returned vector is the more precise of the types of the two vectors.
Definition at line 216 of file sseBasic3DVector.h.
{ return Basic3DVector<typename PreciseFloatType<T,U>::Type>(*this) .cross(Basic3DVector<typename PreciseFloatType<T,U>::Type>(lh)); }
Basic3DVector<typename PreciseFloatType<T,U>::Type> Basic3DVector< T >::cross | ( | const Basic3DVector< U > & | lh | ) | const [inline] |
Vector (or cross) product with a vector of different precision. The product is computed without loss of precision. The type of the returned vector is the more precise of the types of the two vectors.
Definition at line 222 of file extBasic3DVector.h.
{ return Basic3DVector<typename PreciseFloatType<T,U>::Type>(*this) .cross(Basic3DVector<typename PreciseFloatType<T,U>::Type>(lh)); }
Basic3DVector Basic3DVector< T >::cross | ( | const Basic3DVector< T > & | v | ) | const [inline] |
Basic3DVector<typename PreciseFloatType<T,U>::Type> Basic3DVector< T >::cross | ( | const Basic3DVector< U > & | v | ) | const [inline] |
Vector (or cross) product with a vector of different precision. The product is computed without loss of precision. The type of the returned vector is the more precise of the types of the two vectors.
Definition at line 253 of file oldBasic3DVector.h.
Basic3DVector Basic3DVector< T >::cross | ( | const Basic3DVector< T > & | lh | ) | const [inline] |
Vector product, or "cross" product, with a vector of same type.
Definition at line 204 of file sseBasic3DVector.h.
{ return ::cross(v,lh.v); }
U ::Type Basic3DVector< T >::dot | ( | const Basic3DVector< U > & | lh | ) | const [inline] |
Definition at line 204 of file extBasic3DVector.h.
Referenced by Basic3DVector(), Vector3DBase< Scalar, GlobalTag >::dot(), Basic3DVector< align::Scalar >::dot(), PFDisplacedVertexFinder::getLongDiff(), PFDisplacedVertexFinder::getLongProj(), Basic3DVector< align::Scalar >::mag2(), operator*(), StraightLinePlaneCrossing::pathLength(), and TkRotation< align::Scalar >::rotateAxes().
{ return Basic3DVector<typename PreciseFloatType<T,U>::Type>(*this) .dot(Basic3DVector<typename PreciseFloatType<T,U>::Type>(lh)); }
PreciseFloatType<T,U>::Type Basic3DVector< T >::dot | ( | const Basic3DVector< U > & | lh | ) | const [inline] |
Scalar (or dot) product with a vector of different precision. The product is computed without loss of precision. The type of the returned scalar is the more precise of the scalar types of the two vectors.
Definition at line 198 of file sseBasic3DVector.h.
{ return Basic3DVector<typename PreciseFloatType<T,U>::Type>(*this) .dot(Basic3DVector<typename PreciseFloatType<T,U>::Type>(lh)); }
PreciseFloatType<T,U>::Type Basic3DVector< T >::dot | ( | const Basic3DVector< U > & | v | ) | const [inline] |
Scalar (or dot) product with a vector of different precision. The product is computed without loss of precision. The type of the returned scalar is the more precise of the scalar types of the two vectors.
Definition at line 234 of file oldBasic3DVector.h.
T Basic3DVector< T >::dot | ( | const Basic3DVector< T > & | rh | ) | const [inline] |
Scalar product, or "dot" product, with a vector of same type.
Definition at line 188 of file sseBasic3DVector.h.
{ return ::dot(v,rh.v); }
T Basic3DVector< T >::dot | ( | const Basic3DVector< T > & | v | ) | const [inline] |
T Basic3DVector< T >::eta | ( | ) | const [inline] |
Pseudorapidity. Does not check for zero transverse component; in this case the behavior is as for divide-by zero, i.e. system-dependent.
Definition at line 167 of file oldBasic3DVector.h.
Referenced by Basic3DVector< long double >::eta(), PV3DBase< long double, PointTag, GlobalTag >::eta(), and Basic3DVector< align::Scalar >::eta().
{ return detailsBasic3DVector::eta(x(),y(),z());} // correct
T Basic3DVector< T >::eta | ( | ) | const [inline] |
Pseudorapidity. Does not check for zero transverse component; in this case the behavior is as for divide-by zero, i.e. system-dependent.
Definition at line 145 of file sseBasic3DVector.h.
{ return detailsBasic3DVector::eta(x(),y(),z());} // correct
T Basic3DVector< T >::mag | ( | ) | const [inline] |
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition at line 115 of file sseBasic3DVector.h.
T Basic3DVector< T >::mag | ( | ) | const [inline] |
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition at line 137 of file oldBasic3DVector.h.
Referenced by SurveyInputTrackerFromDB::addSurveyInfo(), PFDisplacedVertexFinder::getLongDiff(), PFDisplacedVertexFinder::getLongProj(), PFDisplacedVertexFinder::getTransvDiff(), PV3DBase< long double, PointTag, GlobalTag >::mag(), PathToPlane2Order::operator()(), RKCurvilinearDistance< T, N >::operator()(), AnalyticalTrajectoryExtrapolatorToLine::propagateWithHelix(), and AnalyticalImpactPointExtrapolator::propagateWithHelix().
T Basic3DVector< T >::mag2 | ( | ) | const [inline] |
The vector magnitude squared. Equivalent to vec.dot(vec)
Definition at line 112 of file sseBasic3DVector.h.
{ return ::dot(v,v);}
T Basic3DVector< T >::mag2 | ( | ) | const [inline] |
The vector magnitude squared. Equivalent to vec.dot(vec)
Definition at line 134 of file oldBasic3DVector.h.
Referenced by PFDisplacedVertexFinder::getLongDiff(), Basic3DVector< align::Scalar >::mag(), Basic3DVector< long double >::mag(), PV3DBase< long double, PointTag, GlobalTag >::mag2(), TkRotation< align::Scalar >::rotateAxes(), Basic3DVector< align::Scalar >::unit(), and Basic3DVector< long double >::unit().
MathVector const& Basic3DVector< T >::mathVector | ( | ) | const [inline] |
Definition at line 87 of file sseBasic3DVector.h.
{ return v;}
MathVector& Basic3DVector< T >::mathVector | ( | ) | [inline] |
Definition at line 88 of file sseBasic3DVector.h.
{ return v;}
Basic3DVector& Basic3DVector< T >::operator*= | ( | T | t | ) | [inline] |
Basic3DVector& Basic3DVector< T >::operator*= | ( | T | t | ) | [inline] |
Scaling by a scalar value (multiplication)
Definition at line 175 of file sseBasic3DVector.h.
Basic3DVector& Basic3DVector< T >::operator+= | ( | const Basic3DVector< U > & | p | ) | [inline] |
Basic3DVector& Basic3DVector< T >::operator+= | ( | const Basic3DVector< U > & | p | ) | [inline] |
Operator += with a Basic3DVector of possibly different precision.
Definition at line 158 of file sseBasic3DVector.h.
Basic3DVector Basic3DVector< T >::operator- | ( | ) | const [inline] |
Unary minus, returns a vector with components (-x(),-y(),-z())
Definition at line 202 of file oldBasic3DVector.h.
{ return Basic3DVector(-x(),-y(),-z());}
Basic3DVector Basic3DVector< T >::operator- | ( | ) | const [inline] |
Unary minus, returns a vector with components (-x(),-y(),-z())
Definition at line 172 of file sseBasic3DVector.h.
{ return Basic3DVector(-v);}
Basic3DVector& Basic3DVector< T >::operator-= | ( | const Basic3DVector< U > & | p | ) | [inline] |
Basic3DVector& Basic3DVector< T >::operator-= | ( | const Basic3DVector< U > & | p | ) | [inline] |
Operator -= with a Basic3DVector of possibly different precision.
Definition at line 166 of file sseBasic3DVector.h.
Basic3DVector& Basic3DVector< T >::operator/= | ( | T | t | ) | [inline] |
Scaling by a scalar value (division)
Definition at line 181 of file sseBasic3DVector.h.
Basic3DVector& Basic3DVector< T >::operator/= | ( | T | t | ) | [inline] |
bool Basic3DVector< T >::operator== | ( | const Basic3DVector< T > & | rh | ) | const [inline] |
Definition at line 107 of file sseBasic3DVector.h.
bool Basic3DVector< T >::operator== | ( | const Basic3DVector< T > & | rh | ) | const [inline] |
T Basic3DVector< T >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 108 of file oldBasic3DVector.h.
T Basic3DVector< T >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 90 of file sseBasic3DVector.h.
T& Basic3DVector< T >::operator[] | ( | int | i | ) | [inline] |
Definition at line 91 of file sseBasic3DVector.h.
T& Basic3DVector< T >::operator[] | ( | int | i | ) | [inline] |
Definition at line 109 of file oldBasic3DVector.h.
T Basic3DVector< T >::perp | ( | ) | const [inline] |
Magnitude of transverse component.
Definition at line 143 of file oldBasic3DVector.h.
Referenced by Basic3DVector< long double >::bareTheta(), Basic3DVector< align::Scalar >::bareTheta(), PV3DBase< long double, PointTag, GlobalTag >::perp(), Basic3DVector< long double >::theta(), Basic3DVector< align::Scalar >::theta(), Basic3DVector< align::Scalar >::transverse(), and Basic3DVector< long double >::transverse().
T Basic3DVector< T >::perp | ( | ) | const [inline] |
Magnitude of transverse component.
Definition at line 121 of file sseBasic3DVector.h.
T Basic3DVector< T >::perp2 | ( | ) | const [inline] |
Squared magnitude of transverse component.
Definition at line 140 of file oldBasic3DVector.h.
Referenced by Basic3DVector< long double >::perp(), Basic3DVector< align::Scalar >::perp(), and PV3DBase< long double, PointTag, GlobalTag >::perp2().
T Basic3DVector< T >::perp2 | ( | ) | const [inline] |
Squared magnitude of transverse component.
Definition at line 118 of file sseBasic3DVector.h.
Geom::Phi<T> Basic3DVector< T >::phi | ( | ) | const [inline] |
Definition at line 153 of file oldBasic3DVector.h.
Referenced by PV3DBase< long double, PointTag, GlobalTag >::phi(), AlCaHOCalibProducer::produce(), and TkRotation< align::Scalar >::TkRotation().
{return Geom::Phi<T>(barePhi());}
Geom::Phi<T> Basic3DVector< T >::phi | ( | ) | const [inline] |
Definition at line 131 of file sseBasic3DVector.h.
{return Geom::Phi<T>(barePhi());}
Geom::Theta<T> Basic3DVector< T >::theta | ( | ) | const [inline] |
Definition at line 160 of file oldBasic3DVector.h.
Referenced by AlCaHOCalibProducer::produce(), PV3DBase< long double, PointTag, GlobalTag >::theta(), and TkRotation< align::Scalar >::TkRotation().
{return Geom::Theta<T>(std::atan2(perp(),z()));}
Geom::Theta<T> Basic3DVector< T >::theta | ( | ) | const [inline] |
Definition at line 138 of file sseBasic3DVector.h.
{return Geom::Theta<T>(std::atan2(perp(),z()));}
T Basic3DVector< T >::transverse | ( | ) | const [inline] |
Another name for perp()
Definition at line 146 of file oldBasic3DVector.h.
Referenced by PV3DBase< long double, PointTag, GlobalTag >::transverse().
{ return perp();}
T Basic3DVector< T >::transverse | ( | ) | const [inline] |
Basic3DVector Basic3DVector< T >::unit | ( | ) | const [inline] |
Unit vector parallel to this. If mag() is zero, a zero vector is returned.
Definition at line 172 of file oldBasic3DVector.h.
Referenced by PathToPlane2Order::operator()(), and TkRotation< align::Scalar >::TkRotation().
Basic3DVector Basic3DVector< T >::unit | ( | ) | const [inline] |
T Basic3DVector< T >::w | ( | ) | const [inline] |
Definition at line 122 of file oldBasic3DVector.h.
Referenced by operator*(), operator+(), Basic3DVector< align::Scalar >::operator+=(), and Basic3DVector< align::Scalar >::operator-=().
{ return theW;}
T Basic3DVector< T >::w | ( | ) | const [inline] |
Definition at line 102 of file sseBasic3DVector.h.
{ return v.o.theW;}
T Basic3DVector< T >::x | ( | ) | const [inline] |
T Basic3DVector< T >::x | ( | ) | const [inline] |
Cartesian x coordinate.
Definition at line 114 of file oldBasic3DVector.h.
Referenced by LinearEquation3< T >::Array3< U >::Array3(), Basic3DVector< long double >::barePhi(), Basic3DVector< align::Scalar >::barePhi(), Basic3DVector(), Basic3DVector< long double >::cross(), Basic3DVector< align::Scalar >::cross(), Basic3DVector< long double >::dot(), Basic3DVector< align::Scalar >::dot(), Basic3DVector< long double >::eta(), Basic3DVector< align::Scalar >::eta(), Basic3DVector< long double >::mag2(), Basic3DVector< align::Scalar >::mag2(), ConformalMappingFit::MappedPoint< T >::MappedPoint(), ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint(), reco::PFDisplacedVertexSeed::mergeWith(), TkRotation< align::Scalar >::multiplyInverse(), PathToPlane2Order::operator()(), operator*(), operator+(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-(), Basic3DVector< long double >::operator-(), operator-(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), LinearEquation3< T >::Array3< U >::operator=(), Basic3DVector< align::Scalar >::operator==(), Basic3DVector< long double >::operator==(), TrackAssociatorByChi2::parametersAtClosestApproach(), Basic3DVector< align::Scalar >::perp2(), Basic3DVector< long double >::perp2(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), CartesianStateAdaptor::rkstate(), TkRotation< align::Scalar >::rotate(), TkRotation< align::Scalar >::rotateAxes(), TkRotation< align::Scalar >::rotateBack(), VertexDistanceXY::signedDistance(), VertexDistance3D::signedDistance(), ThirdHitPredictionFromInvLine::MappedPoint< T >::unmap(), ConformalMappingFit::MappedPoint< T >::unmap(), reco::PFDisplacedVertexSeed::updateSeedPoint(), and PV3DBase< long double, PointTag, GlobalTag >::x().
{ return theX;}
Basic2DVector<T> Basic3DVector< T >::xy | ( | ) | const [inline] |
Definition at line 104 of file sseBasic3DVector.h.
{ return v.xy();}
Basic2DVector<T> Basic3DVector< T >::xy | ( | ) | const [inline] |
Definition at line 125 of file oldBasic3DVector.h.
{ return Basic2DVector<T>(theX,theY);}
T Basic3DVector< T >::y | ( | ) | const [inline] |
Cartesian y coordinate.
Definition at line 117 of file oldBasic3DVector.h.
Referenced by AlignmentParameterStore::acquireRelativeParameters(), LinearEquation3< T >::Array3< U >::Array3(), Basic3DVector< align::Scalar >::barePhi(), Basic3DVector< long double >::barePhi(), Basic3DVector(), Basic3DVector< long double >::cross(), Basic3DVector< align::Scalar >::cross(), Basic3DVector< long double >::dot(), Basic3DVector< align::Scalar >::dot(), Basic3DVector< long double >::eta(), Basic3DVector< align::Scalar >::eta(), Basic3DVector< long double >::mag2(), Basic3DVector< align::Scalar >::mag2(), ConformalMappingFit::MappedPoint< T >::MappedPoint(), ThirdHitPredictionFromInvLine::MappedPoint< T >::MappedPoint(), reco::PFDisplacedVertexSeed::mergeWith(), TkRotation< align::Scalar >::multiplyInverse(), PathToPlane2Order::operator()(), operator*(), operator+(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-(), Basic3DVector< long double >::operator-(), operator-(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), LinearEquation3< T >::Array3< U >::operator=(), Basic3DVector< align::Scalar >::operator==(), Basic3DVector< long double >::operator==(), TrackAssociatorByChi2::parametersAtClosestApproach(), Basic3DVector< align::Scalar >::perp2(), Basic3DVector< long double >::perp2(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), CartesianStateAdaptor::rkstate(), TkRotation< align::Scalar >::rotate(), TkRotation< align::Scalar >::rotateAxes(), TkRotation< align::Scalar >::rotateBack(), VertexDistanceXY::signedDistance(), VertexDistance3D::signedDistance(), ThirdHitPredictionFromInvLine::MappedPoint< T >::unmap(), ConformalMappingFit::MappedPoint< T >::unmap(), reco::PFDisplacedVertexSeed::updateSeedPoint(), and PV3DBase< long double, PointTag, GlobalTag >::y().
{ return theY;}
T Basic3DVector< T >::y | ( | ) | const [inline] |
T Basic3DVector< T >::z | ( | ) | const [inline] |
T Basic3DVector< T >::z | ( | ) | const [inline] |
Cartesian z coordinate.
Definition at line 120 of file oldBasic3DVector.h.
Referenced by LinearEquation3< T >::Array3< U >::Array3(), Basic3DVector< long double >::bareTheta(), Basic3DVector< align::Scalar >::bareTheta(), Basic3DVector(), Basic3DVector< long double >::cross(), Basic3DVector< align::Scalar >::cross(), Basic3DVector< long double >::dot(), Basic3DVector< align::Scalar >::dot(), Basic3DVector< long double >::eta(), Basic3DVector< align::Scalar >::eta(), Basic3DVector< long double >::mag2(), Basic3DVector< align::Scalar >::mag2(), reco::PFDisplacedVertexSeed::mergeWith(), TkRotation< align::Scalar >::multiplyInverse(), PathToPlane2Order::operator()(), operator*(), operator+(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-(), Basic3DVector< long double >::operator-(), operator-(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), LinearEquation3< T >::Array3< U >::operator=(), Basic3DVector< align::Scalar >::operator==(), Basic3DVector< long double >::operator==(), TrackAssociatorByChi2::parametersAtClosestApproach(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), CartesianStateAdaptor::rkstate(), TkRotation< align::Scalar >::rotate(), TkRotation< align::Scalar >::rotateAxes(), TkRotation< align::Scalar >::rotateBack(), VertexDistance3D::signedDistance(), Basic3DVector< long double >::theta(), Basic3DVector< align::Scalar >::theta(), reco::PFDisplacedVertexSeed::updateSeedPoint(), and PV3DBase< long double, PointTag, GlobalTag >::z().
{ return theZ;}
T Basic3DVector< T >::theW [private] |
T Basic3DVector< T >::theX [private] |
Definition at line 260 of file oldBasic3DVector.h.
Referenced by Basic3DVector< long double >::Basic3DVector(), Basic3DVector< align::Scalar >::Basic3DVector(), Basic3DVector< align::Scalar >::operator*=(), Basic3DVector< long double >::operator*=(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), Basic3DVector< long double >::operator/=(), Basic3DVector< align::Scalar >::operator/=(), Basic3DVector< align::Scalar >::operator[](), Basic3DVector< long double >::x(), Basic3DVector< align::Scalar >::x(), Basic3DVector< long double >::xy(), and Basic3DVector< align::Scalar >::xy().
T Basic3DVector< T >::theY [private] |
Definition at line 261 of file oldBasic3DVector.h.
Referenced by Basic3DVector< align::Scalar >::Basic3DVector(), Basic3DVector< long double >::Basic3DVector(), Basic3DVector< align::Scalar >::operator*=(), Basic3DVector< long double >::operator*=(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), Basic3DVector< long double >::operator/=(), Basic3DVector< align::Scalar >::operator/=(), Basic3DVector< long double >::xy(), Basic3DVector< align::Scalar >::xy(), Basic3DVector< long double >::y(), and Basic3DVector< align::Scalar >::y().
T Basic3DVector< T >::theZ [private] |
Definition at line 262 of file oldBasic3DVector.h.
Referenced by Basic3DVector< long double >::Basic3DVector(), Basic3DVector< align::Scalar >::Basic3DVector(), Basic3DVector< align::Scalar >::operator*=(), Basic3DVector< long double >::operator*=(), Basic3DVector< long double >::operator+=(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-=(), Basic3DVector< long double >::operator-=(), Basic3DVector< long double >::operator/=(), Basic3DVector< align::Scalar >::operator/=(), Basic3DVector< long double >::z(), and Basic3DVector< align::Scalar >::z().
mathSSE::Vec4<T> Basic3DVector< T >::v |
Definition at line 222 of file sseBasic3DVector.h.
Vec4<T> Basic3DVector< T >::v |
Definition at line 228 of file extBasic3DVector.h.
Referenced by Basic3DVector< align::Scalar >::Basic3DVector(), Basic3DVector< align::Scalar >::cross(), Basic3DVector< align::Scalar >::dot(), LinearGridInterpolator3D::interpolate(), Basic3DVector< align::Scalar >::mag2(), PV3DBase< long double, PointTag, GlobalTag >::mathVector(), Basic3DVector< align::Scalar >::mathVector(), TkRotation< align::Scalar >::multiplyInverse(), operator*(), TkRotation< align::Scalar >::operator*(), Basic3DVector< align::Scalar >::operator*=(), operator+(), Basic3DVector< align::Scalar >::operator+=(), Basic3DVector< align::Scalar >::operator-(), operator-(), Basic3DVector< align::Scalar >::operator-=(), operator/(), Basic3DVector< align::Scalar >::operator/=(), Basic3DVector< align::Scalar >::operator==(), Basic3DVector< align::Scalar >::operator[](), Basic3DVector< align::Scalar >::perp2(), TkRotation< align::Scalar >::rotate(), TkRotation< align::Scalar >::rotateBack(), TkRotation< align::Scalar >::TkRotation(), Basic3DVector< align::Scalar >::w(), Basic3DVector< align::Scalar >::x(), Basic3DVector< align::Scalar >::xy(), Basic3DVector< align::Scalar >::y(), and Basic3DVector< align::Scalar >::z().