Geant4  10.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HepLorentzRotation Class Reference

Classes

class  HepLorentzRotation_row
 

Public Member Functions

 HepLorentzRotation ()
 
 HepLorentzRotation (const HepLorentzRotation &r)
 
 HepLorentzRotation (HepLorentzRotation &&r)=default
 
 HepLorentzRotation (const HepRotation &r)
 
 HepLorentzRotation (const HepRotationX &r)
 
 HepLorentzRotation (const HepRotationY &r)
 
 HepLorentzRotation (const HepRotationZ &r)
 
 HepLorentzRotation (const HepBoost &b)
 
 HepLorentzRotation (const HepBoostX &b)
 
 HepLorentzRotation (const HepBoostY &b)
 
 HepLorentzRotation (const HepBoostZ &b)
 
HepLorentzRotationoperator= (HepLorentzRotation &&m)=default
 
HepLorentzRotationoperator= (const HepLorentzRotation &m)
 
HepLorentzRotationoperator= (const HepRotation &m)
 
HepLorentzRotationoperator= (const HepBoost &m)
 
HepLorentzRotationset (double bx, double by, double bz)
 
HepLorentzRotationset (const Hep3Vector &p)
 
HepLorentzRotationset (const HepRotation &r)
 
HepLorentzRotationset (const HepRotationX &r)
 
HepLorentzRotationset (const HepRotationY &r)
 
HepLorentzRotationset (const HepRotationZ &r)
 
HepLorentzRotationset (const HepBoost &boost)
 
HepLorentzRotationset (const HepBoostX &boost)
 
HepLorentzRotationset (const HepBoostY &boost)
 
HepLorentzRotationset (const HepBoostZ &boost)
 
 HepLorentzRotation (double bx, double by, double bz)
 
 HepLorentzRotation (const Hep3Vector &p)
 
HepLorentzRotationset (const HepBoost &B, const HepRotation &R)
 
 HepLorentzRotation (const HepBoost &B, const HepRotation &R)
 
HepLorentzRotationset (const HepRotation &R, const HepBoost &B)
 
 HepLorentzRotation (const HepRotation &R, const HepBoost &B)
 
 HepLorentzRotation (const HepLorentzVector &col1, const HepLorentzVector &col2, const HepLorentzVector &col3, const HepLorentzVector &col4)
 
HepLorentzRotationset (const HepLorentzVector &col1, const HepLorentzVector &col2, const HepLorentzVector &col3, const HepLorentzVector &col4)
 
HepLorentzRotationsetRows (const HepLorentzVector &row1, const HepLorentzVector &row2, const HepLorentzVector &row3, const HepLorentzVector &row4)
 
HepLorentzRotationset (const HepRep4x4 &rep)
 
 HepLorentzRotation (const HepRep4x4 &rep)
 
double xx () const
 
double xy () const
 
double xz () const
 
double xt () const
 
double yx () const
 
double yy () const
 
double yz () const
 
double yt () const
 
double zx () const
 
double zy () const
 
double zz () const
 
double zt () const
 
double tx () const
 
double ty () const
 
double tz () const
 
double tt () const
 
HepLorentzVector col1 () const
 
HepLorentzVector col2 () const
 
HepLorentzVector col3 () const
 
HepLorentzVector col4 () const
 
HepLorentzVector row1 () const
 
HepLorentzVector row2 () const
 
HepLorentzVector row3 () const
 
HepLorentzVector row4 () const
 
HepRep4x4 rep4x4 () const
 
const HepLorentzRotation_row operator[] (int) const
 
double operator() (int, int) const
 
void decompose (Hep3Vector &boost, HepAxisAngle &rotation) const
 
void decompose (HepBoost &boost, HepRotation &rotation) const
 
void decompose (HepAxisAngle &rotation, Hep3Vector &boost) const
 
void decompose (HepRotation &rotation, HepBoost &boost) const
 
int compare (const HepLorentzRotation &m) const
 
bool operator== (const HepLorentzRotation &) const
 
bool operator!= (const HepLorentzRotation &) const
 
bool operator<= (const HepLorentzRotation &) const
 
bool operator>= (const HepLorentzRotation &) const
 
bool operator< (const HepLorentzRotation &) const
 
bool operator> (const HepLorentzRotation &) const
 
bool isIdentity () const
 
double distance2 (const HepBoost &b) const
 
double distance2 (const HepRotation &r) const
 
double distance2 (const HepLorentzRotation &lt) const
 
double howNear (const HepBoost &b) const
 
double howNear (const HepRotation &r) const
 
double howNear (const HepLorentzRotation &lt) const
 
bool isNear (const HepBoost &b, double epsilon=Hep4RotationInterface::tolerance) const
 
bool isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const
 
bool isNear (const HepLorentzRotation &lt, double epsilon=Hep4RotationInterface::tolerance) const
 
double norm2 () const
 
void rectify ()
 
HepLorentzVector vectorMultiplication (const HepLorentzVector &) const
 
HepLorentzVector operator() (const HepLorentzVector &w) const
 
HepLorentzVector operator* (const HepLorentzVector &p) const
 
HepLorentzRotation matrixMultiplication (const HepRep4x4 &m) const
 
HepLorentzRotation operator* (const HepBoost &b) const
 
HepLorentzRotation operator* (const HepRotation &r) const
 
HepLorentzRotation operator* (const HepLorentzRotation &lt) const
 
HepLorentzRotationoperator*= (const HepBoost &b)
 
HepLorentzRotationoperator*= (const HepRotation &r)
 
HepLorentzRotationoperator*= (const HepLorentzRotation &lt)
 
HepLorentzRotationtransform (const HepBoost &b)
 
HepLorentzRotationtransform (const HepRotation &r)
 
HepLorentzRotationtransform (const HepLorentzRotation &lt)
 
HepLorentzRotationrotateX (double delta)
 
HepLorentzRotationrotateY (double delta)
 
HepLorentzRotationrotateZ (double delta)
 
HepLorentzRotationrotate (double delta, const Hep3Vector &axis)
 
HepLorentzRotationrotate (double delta, const Hep3Vector *axis)
 
HepLorentzRotationboostX (double beta)
 
HepLorentzRotationboostY (double beta)
 
HepLorentzRotationboostZ (double beta)
 
HepLorentzRotationboost (double, double, double)
 
HepLorentzRotationboost (const Hep3Vector &)
 
HepLorentzRotation inverse () const
 
HepLorentzRotationinvert ()
 
std::ostream & print (std::ostream &os) const
 

Static Public Member Functions

static double getTolerance ()
 
static double setTolerance (double tol)
 

Static Public Attributes

static DLL_API const
HepLorentzRotation 
IDENTITY
 

Protected Member Functions

 HepLorentzRotation (double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt, double mtx, double mty, double mtz, double mtt)
 
void setBoost (double, double, double)
 

Protected Attributes

double mxx
 
double mxy
 
double mxz
 
double mxt
 
double myx
 
double myy
 
double myz
 
double myt
 
double mzx
 
double mzy
 
double mzz
 
double mzt
 
double mtx
 
double mty
 
double mtz
 
double mtt
 

Friends

HepLorentzRotation inverseOf (const HepLorentzRotation &lt)
 

Detailed Description

Author

Constructor & Destructor Documentation

HepLorentzRotation ( const HepBoostX b)
explicit
HepLorentzRotation ( const HepBoostY b)
explicit
HepLorentzRotation ( const HepBoostZ b)
explicit
HepLorentzRotation ( double  bx,
double  by,
double  bz 
)
HepLorentzRotation ( double  mxx,
double  mxy,
double  mxz,
double  mxt,
double  myx,
double  myy,
double  myz,
double  myt,
double  mzx,
double  mzy,
double  mzz,
double  mzt,
double  mtx,
double  mty,
double  mtz,
double  mtt 
)
protected

Member Function Documentation

HepLorentzRotation& operator= ( HepLorentzRotation &&  m)
default
HepLorentzRotation& operator= ( const HepRotation m)
HepLorentzRotation& operator= ( const HepBoost m)
HepLorentzRotation& set ( double  bx,
double  by,
double  bz 
)
HepLorentzRotation& set ( const HepBoost boost)
HepLorentzRotation& set ( const HepBoostX boost)
HepLorentzRotation& set ( const HepBoostY boost)
HepLorentzRotation& set ( const HepBoostZ boost)
double xx ( ) const
double xy ( ) const
double xz ( ) const
double xt ( ) const
double yx ( ) const
double yy ( ) const
double yz ( ) const
double yt ( ) const
double zx ( ) const
double zy ( ) const
double zz ( ) const
double zt ( ) const
double tx ( ) const
double ty ( ) const
double tz ( ) const
double tt ( ) const
HepLorentzVector col1 ( ) const
HepLorentzVector col2 ( ) const
HepLorentzVector col3 ( ) const
HepLorentzVector col4 ( ) const
HepLorentzVector row1 ( ) const
HepLorentzVector row2 ( ) const
HepLorentzVector row3 ( ) const
HepLorentzVector row4 ( ) const
HepRep4x4 rep4x4 ( ) const
const HepLorentzRotation_row operator[] ( int  ) const
double operator() ( int  ,
int   
) const
void decompose ( Hep3Vector boost,
HepAxisAngle rotation 
) const
void decompose ( HepBoost boost,
HepRotation rotation 
) const
void decompose ( HepAxisAngle rotation,
Hep3Vector boost 
) const
void decompose ( HepRotation rotation,
HepBoost boost 
) const
int compare ( const HepLorentzRotation m) const
bool operator== ( const HepLorentzRotation ) const
bool operator!= ( const HepLorentzRotation ) const
bool operator<= ( const HepLorentzRotation ) const
bool operator>= ( const HepLorentzRotation ) const
bool operator< ( const HepLorentzRotation ) const
bool operator> ( const HepLorentzRotation ) const
bool isIdentity ( ) const
double distance2 ( const HepBoost b) const
double distance2 ( const HepRotation r) const
double distance2 ( const HepLorentzRotation lt) const
double howNear ( const HepBoost b) const
double howNear ( const HepRotation r) const
double howNear ( const HepLorentzRotation lt) const
bool isNear ( const HepBoost b,
double  epsilon = Hep4RotationInterface::tolerance 
) const
bool isNear ( const HepRotation r,
double  epsilon = Hep4RotationInterface::tolerance 
) const
bool isNear ( const HepLorentzRotation lt,
double  epsilon = Hep4RotationInterface::tolerance 
) const
double norm2 ( ) const
void rectify ( )
HepLorentzVector vectorMultiplication ( const HepLorentzVector ) const
HepLorentzVector operator() ( const HepLorentzVector w) const
HepLorentzVector operator* ( const HepLorentzVector p) const
HepLorentzRotation matrixMultiplication ( const HepRep4x4 m) const
HepLorentzRotation operator* ( const HepBoost b) const
HepLorentzRotation operator* ( const HepRotation r) const
HepLorentzRotation operator* ( const HepLorentzRotation lt) const
HepLorentzRotation& operator*= ( const HepBoost b)
HepLorentzRotation& operator*= ( const HepRotation r)
HepLorentzRotation& transform ( const HepBoost b)
HepLorentzRotation& transform ( const HepRotation r)
HepLorentzRotation& rotateX ( double  delta)
HepLorentzRotation& rotateY ( double  delta)
HepLorentzRotation& rotateZ ( double  delta)
HepLorentzRotation& rotate ( double  delta,
const Hep3Vector axis 
)
HepLorentzRotation& rotate ( double  delta,
const Hep3Vector axis 
)
HepLorentzRotation& boostX ( double  beta)
HepLorentzRotation& boostY ( double  beta)
HepLorentzRotation& boostZ ( double  beta)
HepLorentzRotation& boost ( double  ,
double  ,
double   
)
HepLorentzRotation inverse ( ) const
HepLorentzRotation& invert ( )
std::ostream& print ( std::ostream &  os) const
static double getTolerance ( )
static
static double setTolerance ( double  tol)
static
void setBoost ( double  ,
double  ,
double   
)
protected

Friends And Related Function Documentation

HepLorentzRotation inverseOf ( const HepLorentzRotation lt)
friend

Member Data Documentation

DLL_API const HepLorentzRotation IDENTITY
static
double mxx
protected
double mxy
protected
double mxz
protected
double mxt
protected
double myx
protected
double myy
protected
double myz
protected
double myt
protected
double mzx
protected
double mzy
protected
double mzz
protected
double mzt
protected
double mtx
protected
double mty
protected
double mtz
protected
double mtt
protected