Geant4_10
Public Member Functions | Public Attributes | List of all members
UVector3 Struct Reference

#include <UVector3.hh>

Public Member Functions

 UVector3 ()
 
 UVector3 (double xval, double yval, double zval)
 
 UVector3 (double theta, double phi)
 
 UVector3 (const double coord[3])
 
UVector3operator= (const UVector3 &v)
 
UVector3operator= (const double *vect)
 
bool operator== (const UVector3 &) const
 
bool operator!= (const UVector3 &) const
 
UVector3 operator- () const
 
UVector3operator+= (const UVector3 &)
 
UVector3operator-= (const UVector3 &)
 
double & operator[] (int index)
 
double operator[] (int index) const
 
UVector3operator*= (double)
 
UVector3operator/= (double)
 
double Dot (const UVector3 &) const
 
UVector3 Cross (const UVector3 &) const
 
double Angle (const UVector3 &) const
 
UVector3 Unit () const
 
bool IsNull () const
 
void SetNull ()
 
void Set (double xx, double yy, double zz)
 
void Set (double xx)
 
double Normalize ()
 
double Phi () const
 
double Theta () const
 
double CosTheta () const
 
double Mag2 () const
 
double Mag () const
 
double Perp2 () const
 
double Perp () const
 
void RotateX (double)
 
void RotateY (double)
 
void RotateZ (double)
 
UVector3MultiplyByComponents (const UVector3 &p)
 

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

Definition at line 28 of file UVector3.hh.

Constructor & Destructor Documentation

UVector3::UVector3 ( )
inline

Definition at line 31 of file UVector3.hh.

Here is the caller graph for this function:

UVector3::UVector3 ( double  xval,
double  yval,
double  zval 
)
inline

Definition at line 35 of file UVector3.hh.

UVector3::UVector3 ( double  theta,
double  phi 
)

Definition at line 21 of file UVector3.cc.

UVector3::UVector3 ( const double  coord[3])
inline

Definition at line 42 of file UVector3.hh.

Member Function Documentation

double UVector3::Angle ( const UVector3 q) const

Definition at line 30 of file UVector3.cc.

Here is the call graph for this function:

double UVector3::CosTheta ( ) const
inline

Definition at line 277 of file UVector3.hh.

Here is the call graph for this function:

UVector3 UVector3::Cross ( const UVector3 p) const
inline

Definition at line 262 of file UVector3.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

double UVector3::Dot ( const UVector3 p) const
inline

Definition at line 257 of file UVector3.hh.

Here is the caller graph for this function:

bool UVector3::IsNull ( ) const
inline

Definition at line 234 of file UVector3.hh.

double UVector3::Mag ( ) const

Definition at line 48 of file UVector3.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double UVector3::Mag2 ( ) const
inline

Definition at line 267 of file UVector3.hh.

Here is the caller graph for this function:

UVector3 & UVector3::MultiplyByComponents ( const UVector3 p)
inline

Definition at line 157 of file UVector3.hh.

double UVector3::Normalize ( )

Definition at line 89 of file UVector3.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool UVector3::operator!= ( const UVector3 v) const
inline

Definition at line 191 of file UVector3.hh.

UVector3 & UVector3::operator*= ( double  a)
inline

Definition at line 217 of file UVector3.hh.

UVector3 & UVector3::operator+= ( const UVector3 p)
inline

Definition at line 196 of file UVector3.hh.

UVector3 UVector3::operator- ( ) const
inline

Definition at line 212 of file UVector3.hh.

Here is the call graph for this function:

UVector3 & UVector3::operator-= ( const UVector3 p)
inline

Definition at line 204 of file UVector3.hh.

UVector3 & UVector3::operator/= ( double  a)
inline

Definition at line 225 of file UVector3.hh.

UVector3 & UVector3::operator= ( const UVector3 v)
inline

Definition at line 167 of file UVector3.hh.

UVector3& UVector3::operator= ( const double *  vect)
inline
bool UVector3::operator== ( const UVector3 v) const
inline

Definition at line 186 of file UVector3.hh.

double & UVector3::operator[] ( int  index)
inline

Definition at line 284 of file UVector3.hh.

double UVector3::operator[] ( int  index) const
inline

Definition at line 299 of file UVector3.hh.

double UVector3::Perp ( ) const

Definition at line 56 of file UVector3.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

double UVector3::Perp2 ( ) const
inline

Definition at line 272 of file UVector3.hh.

Here is the caller graph for this function:

double UVector3::Phi ( ) const

Definition at line 64 of file UVector3.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void UVector3::RotateX ( double  angle)

Definition at line 102 of file UVector3.cc.

void UVector3::RotateY ( double  angle)

Definition at line 113 of file UVector3.cc.

void UVector3::RotateZ ( double  angle)

Definition at line 124 of file UVector3.cc.

void UVector3::Set ( double  xx,
double  yy,
double  zz 
)
inline

Definition at line 245 of file UVector3.hh.

Here is the caller graph for this function:

void UVector3::Set ( double  xx)
inline

Definition at line 252 of file UVector3.hh.

void UVector3::SetNull ( )
inline
double UVector3::Theta ( ) const

Definition at line 71 of file UVector3.cc.

Here is the call graph for this function:

UVector3 UVector3::Unit ( ) const

Definition at line 80 of file UVector3.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

double UVector3::x

Definition at line 136 of file UVector3.hh.

double UVector3::y

Definition at line 137 of file UVector3.hh.

double UVector3::z

Definition at line 138 of file UVector3.hh.


The documentation for this struct was generated from the following files: