ROOTPWA
Public Member Functions | Private Attributes | Friends | List of all members
lorentzTransform Class Reference

#include <lorentz.h>

Inheritance diagram for lorentzTransform:
matrix< double >

Public Member Functions

 lorentzTransform ()
 lorentzTransform (const matrix< double > &m)
 lorentzTransform (double, double, double)
 lorentzTransform (const threeVec &beta)
 lorentzTransform (const fourVec &)
 lorentzTransform (const rotation &)
 ~lorentzTransform ()
lorentzTransform set (double, double, double)
lorentzTransform set (const threeVec &beta)
lorentzTransform set (const fourVec &)
lorentzTransform set (const rotation &)
double beta ()
double & el (const int i, const int j)
const double & el (const int i, const int j) const
double & element (const int i, const int j)
const double & element (const int i, const int j) const
matrix operator*= (const double a)
matrix operator+= (const matrix &M)
matrix operator-= (const matrix &M)
matrix operator* (const matrix &M) const
threeVec operator* (const threeVec &v) const
fourVec operator* (const fourVec &v) const
matrix operator* (const double &a) const
matrix operator+ (const matrix &M) const
matrix operator- (const matrix &M) const
matrix conjugate () const
matrix transpose () const
matrix adjoint () const
int status () const
void setStatus (const int s)
double trace () const
double det () const
matrix LU () const
matrix inv ()
int nrows () const
int ncols () const
matrix zero ()
const matrixprint (std::ostream &os=std::cout) const
matrixscan (std::istream &is=std::cin)

Private Attributes

double _beta
double _gamma

Friends

class fourVec
fourVec operator*= (fourVec &, const lorentzTransform &)

Detailed Description

Definition at line 32 of file lorentz.h.

Constructor & Destructor Documentation

lorentzTransform::lorentzTransform ( )
inline

Definition at line 43 of file lorentz.h.

lorentzTransform::lorentzTransform ( const matrix< double > &  m)
inline

Definition at line 48 of file lorentz.h.

lorentzTransform::lorentzTransform ( double  alpha,
double  beta,
double  gamma 
)

Definition at line 85 of file lorentz.cc.

References beta().

lorentzTransform::lorentzTransform ( const threeVec beta)

Definition at line 135 of file lorentz.cc.

References beta().

lorentzTransform::lorentzTransform ( const fourVec p)

Definition at line 156 of file lorentz.cc.

References p.

lorentzTransform::lorentzTransform ( const rotation r)

Definition at line 92 of file lorentz.cc.

lorentzTransform::~lorentzTransform ( )
inline

Definition at line 57 of file lorentz.h.

Member Function Documentation

matrix matrix< double >::adjoint ( ) const
inherited
double lorentzTransform::beta ( )
inline

Definition at line 64 of file lorentz.h.

References _beta.

Referenced by lorentzTransform(), and set().

matrix matrix< double >::conjugate ( ) const
inherited
double matrix< double >::det ( ) const
inherited
double & matrix< double >::el ( const int  i,
const int  j 
)
inherited

Referenced by rotation::set(), and set().

const double & matrix< double >::el ( const int  i,
const int  j 
) const
inherited
double & matrix< double >::element ( const int  i,
const int  j 
)
inlineinherited

Definition at line 46 of file matrix.h.

const double & matrix< double >::element ( const int  i,
const int  j 
) const
inlineinherited

Definition at line 48 of file matrix.h.

matrix matrix< double >::inv ( )
inherited
matrix matrix< double >::LU ( ) const
inherited
int matrix< double >::ncols ( ) const
inlineinherited

Definition at line 70 of file matrix.h.

int matrix< double >::nrows ( ) const
inlineinherited

Definition at line 69 of file matrix.h.

matrix matrix< double >::operator* ( const matrix< double > &  M) const
inherited
threeVec matrix< double >::operator* ( const threeVec v) const
inherited
fourVec matrix< double >::operator* ( const fourVec v) const
inherited
matrix matrix< double >::operator* ( const double &  a) const
inherited
matrix matrix< double >::operator*= ( const double  a)
inherited
matrix matrix< double >::operator+ ( const matrix< double > &  M) const
inherited
matrix matrix< double >::operator+= ( const matrix< double > &  M)
inherited
matrix matrix< double >::operator- ( const matrix< double > &  M) const
inherited
matrix matrix< double >::operator-= ( const matrix< double > &  M)
inherited
const matrix& matrix< double >::print ( std::ostream &  os = std::cout) const
inherited
matrix& matrix< double >::scan ( std::istream &  is = std::cin)
inherited
lorentzTransform lorentzTransform::set ( double  alpha,
double  beta,
double  gamma 
)
lorentzTransform lorentzTransform::set ( const threeVec beta)
lorentzTransform lorentzTransform::set ( const fourVec p)

Definition at line 143 of file lorentz.cc.

References beta(), threeVec::el(), fourVec::t(), fourVec::x(), fourVec::y(), and fourVec::z().

lorentzTransform lorentzTransform::set ( const rotation r)

Definition at line 62 of file lorentz.cc.

References matrix< double >::el(), and matrix< double >::zero().

void matrix< double >::setStatus ( const int  s)
inlineinherited

Definition at line 64 of file matrix.h.

int matrix< double >::status ( ) const
inlineinherited

Definition at line 63 of file matrix.h.

double matrix< double >::trace ( ) const
inherited
matrix matrix< double >::transpose ( ) const
inherited
matrix matrix< double >::zero ( )
inherited

Referenced by set().

Friends And Related Function Documentation

friend class fourVec
friend

Definition at line 34 of file lorentz.h.

fourVec operator*= ( fourVec v,
const lorentzTransform L 
)
friend

Definition at line 172 of file lorentz.cc.

Member Data Documentation

double lorentzTransform::_beta
private

Definition at line 38 of file lorentz.h.

Referenced by beta(), and set().

double lorentzTransform::_gamma
private

Definition at line 39 of file lorentz.h.

Referenced by set().


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