StRoot  1
StThreeVector< T > Class Template Reference

## Public Member Functions

StThreeVector (T, T, T)

template<class X >
StThreeVector (const StThreeVector< X > &)

template<class X >
StThreeVector (const X *)

template<class X >
StThreeVector< T > & operator= (const StThreeVector< X > &)

void setX (T)

void setY (T)

void setZ (T)

void set (T X, T Y, T Z)

void setPhi (T)

void setTheta (T)

void setMag (T)

void setMagnitude (T)

const T & x () const

const T & y () const

const T & z () const

const T * xyz () const

T * xyz ()

theta () const

cosTheta () const

phi () const

perp () const

perp2 () const

magnitude () const

mag () const

mag2 () const

pseudoRapidity () const

operator() (size_t) const

operator[] (size_t) const

T & operator() (size_t)

T & operator[] (size_t)

massHypothesis (T mass) const

StThreeVector< T > unit () const

StThreeVector< T > orthogonal () const

void rotateX (T)

void rotateY (T)

void rotateZ (T)

StThreeVector< T > operator- ()

StThreeVector< T > operator+ ()

StThreeVector< T > & operator*= (double)

StThreeVector< T > & operator/= (double)

StThreeVector< T > pseudoProduct (double, double, double) const

template<class X >
angle (const StThreeVector< X > &) const

template<class X >
StThreeVector< T > cross (const StThreeVector< X > &) const

template<class X >
dot (const StThreeVector< X > &) const

template<class X >
StThreeVector< T > pseudoProduct (const StThreeVector< X > &) const

template<class X >
bool operator== (const StThreeVector< X > &v) const

template<class X >
bool operator!= (const StThreeVector< X > &v) const

template<class X >
StThreeVector< T > & operator+= (const StThreeVector< X > &)

template<class X >
StThreeVector< T > & operator-= (const StThreeVector< X > &)

int valid (double world=1.e+5) const

mX1

mX2

mX3

## Detailed Description

### template<class T> class StThreeVector< T >

Definition at line 115 of file StThreeVector.hh.

The documentation for this class was generated from the following file: