Geant4-11
|
#include <Boost.h>
Public Member Functions | |
double | beta () const |
Hep3Vector | boostVector () const |
HepLorentzVector | col1 () const |
HepLorentzVector | col2 () const |
HepLorentzVector | col3 () const |
HepLorentzVector | col4 () const |
int | compare (const HepBoost &b) const |
void | decompose (Hep3Vector &boost, HepAxisAngle &rotation) const |
void | decompose (HepAxisAngle &rotation, Hep3Vector &boost) const |
void | decompose (HepBoost &boost, HepRotation &rotation) const |
void | decompose (HepRotation &rotation, HepBoost &boost) const |
Hep3Vector | direction () const |
double | distance2 (const HepBoost &b) const |
double | distance2 (const HepBoostX &bx) const |
double | distance2 (const HepBoostY &by) const |
double | distance2 (const HepBoostZ &bz) const |
double | distance2 (const HepLorentzRotation <) const |
double | distance2 (const HepRotation &r) const |
double | gamma () const |
Hep3Vector | getDirection () const |
HepBoost () | |
HepBoost (const Hep3Vector &boost) | |
HepBoost (const HepBoost &m) | |
HepBoost (const HepBoostX &boost) | |
HepBoost (const HepBoostY &boost) | |
HepBoost (const HepBoostZ &boost) | |
HepBoost (const HepRep4x4Symmetric &m) | |
HepBoost (double betaX, double betaY, double betaZ) | |
HepBoost (Hep3Vector direction, double beta) | |
HepBoost (HepBoost &&m)=default | |
double | howNear (const HepBoost &b) const |
double | howNear (const HepLorentzRotation <) const |
double | howNear (const HepRotation &r) const |
HepBoost | inverse () const |
HepBoost & | invert () |
bool | isIdentity () const |
bool | isNear (const HepBoost &b, double epsilon=Hep4RotationInterface::tolerance) const |
bool | isNear (const HepLorentzRotation <, double epsilon=Hep4RotationInterface::tolerance) const |
bool | isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const |
double | norm2 () const |
bool | operator!= (const HepBoost &b) const |
HepLorentzVector | operator() (const HepLorentzVector &p) const |
HepLorentzRotation | operator* (const HepBoost &b) const |
HepLorentzRotation | operator* (const HepLorentzRotation <) const |
HepLorentzVector | operator* (const HepLorentzVector &p) const |
HepLorentzRotation | operator* (const HepRotation &r) const |
bool | operator< (const HepBoost &b) const |
bool | operator<= (const HepBoost &b) const |
HepBoost & | operator= (const HepBoost &m) |
HepBoost & | operator= (HepBoost &&m)=default |
bool | operator== (const HepBoost &b) const |
bool | operator> (const HepBoost &b) const |
bool | operator>= (const HepBoost &b) const |
std::ostream & | print (std::ostream &os) const |
void | rectify () |
HepRep4x4 | rep4x4 () const |
HepRep4x4Symmetric | rep4x4Symmetric () const |
HepLorentzVector | row1 () const |
HepLorentzVector | row2 () const |
HepLorentzVector | row3 () const |
HepLorentzVector | row4 () const |
HepBoost & | set (const Hep3Vector &boost) |
HepBoost & | set (const HepBoostX &boost) |
HepBoost & | set (const HepBoostY &boost) |
HepBoost & | set (const HepBoostZ &boost) |
HepBoost & | set (const HepRep4x4Symmetric &m) |
HepBoost & | set (double betaX, double betaY, double betaZ) |
HepBoost & | set (Hep3Vector direction, double beta) |
double | tt () const |
double | tx () const |
double | ty () const |
double | tz () const |
double | xt () const |
double | xx () const |
double | xy () const |
double | xz () const |
double | yt () const |
double | yx () const |
double | yy () const |
double | yz () const |
double | zt () const |
double | zx () const |
double | zy () const |
double | zz () const |
Static Public Member Functions | |
static double | getTolerance () |
static double | setTolerance (double tol) |
Protected Member Functions | |
HepBoost (double xx, double xy, double xz, double xt, double yy, double yz, double yt, double zz, double zt, double tt) | |
HepLorentzRotation | matrixMultiplication (const HepRep4x4 &m) const |
HepLorentzRotation | matrixMultiplication (const HepRep4x4Symmetric &m) const |
void | setBoost (double bx, double by, double bz) |
HepLorentzVector | vectorMultiplication (const HepLorentzVector &w) const |
Protected Attributes | |
HepRep4x4Symmetric | rep_ |
Friends | |
HepBoost | inverseOf (const HepBoost <) |
|
inline |
Referenced by decompose().
|
inline |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
Referenced by print().
|
inline |
Referenced by CLHEP::HepLorentzRotation::decompose(), decompose(), and print().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void CLHEP::HepBoost::decompose | ( | Hep3Vector & | boost, |
HepAxisAngle & | rotation | ||
) | const |
Definition at line 87 of file Boost.cc.
References boostVector().
void CLHEP::HepBoost::decompose | ( | HepAxisAngle & | rotation, |
Hep3Vector & | boost | ||
) | const |
Definition at line 75 of file Boost.cc.
References boostVector().
void CLHEP::HepBoost::decompose | ( | HepBoost & | boost, |
HepRotation & | rotation | ||
) | const |
Definition at line 80 of file Boost.cc.
References boostVector(), and HepBoost().
void CLHEP::HepBoost::decompose | ( | HepRotation & | rotation, |
HepBoost & | boost | ||
) | const |
Definition at line 68 of file Boost.cc.
References boostVector(), and HepBoost().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double CLHEP::HepBoost::distance2 | ( | const HepLorentzRotation & | lt | ) | const |
Definition at line 100 of file Boost.cc.
References CLHEP::HepLorentzRotation::decompose(), distance2(), and CLHEP::HepRotation::norm2().
double CLHEP::HepBoost::distance2 | ( | const HepRotation & | r | ) | const |
Definition at line 94 of file Boost.cc.
References norm2(), and CLHEP::HepRotation::norm2().
|
inline |
Referenced by print().
|
inline |
|
inlinestatic |
|
inline |
double CLHEP::HepBoost::howNear | ( | const HepLorentzRotation & | lt | ) | const |
Definition at line 113 of file Boost.cc.
References distance2().
double CLHEP::HepBoost::howNear | ( | const HepRotation & | r | ) | const |
Definition at line 109 of file Boost.cc.
References distance2().
|
inline |
|
inline |
|
inline |
|
inline |
bool CLHEP::HepBoost::isNear | ( | const HepLorentzRotation & | lt, |
double | epsilon = Hep4RotationInterface::tolerance |
||
) | const |
Definition at line 124 of file Boost.cc.
References CLHEP::HepLorentzRotation::decompose(), distance2(), epsilon(), and CLHEP::HepRotation::norm2().
bool CLHEP::HepBoost::isNear | ( | const HepRotation & | r, |
double | epsilon = Hep4RotationInterface::tolerance |
||
) | const |
|
protected |
Definition at line 179 of file Boost.cc.
References rep4x4Symmetric(), CLHEP::HepRep4x4::tt_, CLHEP::HepRep4x4Symmetric::tt_, CLHEP::HepRep4x4::tx_, CLHEP::HepRep4x4::ty_, CLHEP::HepRep4x4::tz_, CLHEP::HepRep4x4::xt_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4::xx_, CLHEP::HepRep4x4Symmetric::xx_, CLHEP::HepRep4x4::xy_, CLHEP::HepRep4x4Symmetric::xy_, CLHEP::HepRep4x4::xz_, CLHEP::HepRep4x4Symmetric::xz_, CLHEP::HepRep4x4::yt_, CLHEP::HepRep4x4Symmetric::yt_, CLHEP::HepRep4x4::yx_, CLHEP::HepRep4x4::yy_, CLHEP::HepRep4x4Symmetric::yy_, CLHEP::HepRep4x4::yz_, CLHEP::HepRep4x4Symmetric::yz_, CLHEP::HepRep4x4::zt_, CLHEP::HepRep4x4Symmetric::zt_, CLHEP::HepRep4x4::zx_, CLHEP::HepRep4x4::zy_, CLHEP::HepRep4x4::zz_, and CLHEP::HepRep4x4Symmetric::zz_.
Referenced by operator*().
|
protected |
Definition at line 204 of file Boost.cc.
References rep4x4Symmetric(), CLHEP::HepRep4x4Symmetric::tt_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::xx_, CLHEP::HepRep4x4Symmetric::xy_, CLHEP::HepRep4x4Symmetric::xz_, CLHEP::HepRep4x4Symmetric::yt_, CLHEP::HepRep4x4Symmetric::yy_, CLHEP::HepRep4x4Symmetric::yz_, CLHEP::HepRep4x4Symmetric::zt_, and CLHEP::HepRep4x4Symmetric::zz_.
double CLHEP::HepBoost::norm2 | ( | ) | const |
Definition at line 137 of file Boost.cc.
References rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
Referenced by distance2(), CLHEP::HepLorentzRotation::distance2(), isNear(), CLHEP::HepLorentzRotation::isNear(), and CLHEP::HepLorentzRotation::norm2().
|
inline |
|
inline |
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepBoost & | b | ) | const |
Definition at line 234 of file Boost.cc.
References matrixMultiplication(), and rep_.
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepLorentzRotation & | lt | ) | const |
Definition at line 229 of file Boost.cc.
References matrixMultiplication(), and CLHEP::HepLorentzRotation::rep4x4().
|
inline |
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepRotation & | r | ) | const |
Definition at line 239 of file Boost.cc.
References matrixMultiplication(), and CLHEP::HepRotation::rep4x4().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::ostream & CLHEP::HepBoost::print | ( | std::ostream & | os | ) | const |
Definition at line 245 of file Boost.cc.
References beta(), boostVector(), gamma(), CLHEP::Hep3Vector::mag(), rep_, and CLHEP::HepRep4x4Symmetric::tt_.
void CLHEP::HepBoost::rectify | ( | ) |
Definition at line 144 of file Boost.cc.
References G4InuclParticleNames::gam, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), set(), tt(), xt(), yt(), and zt().
|
inline |
|
inline |
Referenced by matrixMultiplication().
|
inline |
|
inline |
|
inline |
|
inline |
HepBoost & CLHEP::HepBoost::set | ( | const Hep3Vector & | boost | ) |
Definition at line 60 of file Boost.cc.
References set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
HepBoost & CLHEP::HepBoost::set | ( | const HepRep4x4Symmetric & | m | ) |
HepBoost & CLHEP::HepBoost::set | ( | double | betaX, |
double | betaY, | ||
double | betaZ | ||
) |
Definition at line 20 of file Boost.cc.
References rep_, CLHEP::HepRep4x4Symmetric::tt_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::xx_, CLHEP::HepRep4x4Symmetric::xy_, CLHEP::HepRep4x4Symmetric::xz_, CLHEP::HepRep4x4Symmetric::yt_, CLHEP::HepRep4x4Symmetric::yy_, CLHEP::HepRep4x4Symmetric::yz_, CLHEP::HepRep4x4Symmetric::zt_, and CLHEP::HepRep4x4Symmetric::zz_.
Referenced by CLHEP::HepLorentzRotation::decompose(), CLHEP::HepRotationX::decompose(), CLHEP::HepRotationY::decompose(), CLHEP::HepRotationZ::decompose(), rectify(), and set().
HepBoost & CLHEP::HepBoost::set | ( | Hep3Vector | direction, |
double | beta | ||
) |
Definition at line 46 of file Boost.cc.
References CLHEP::Hep3Vector::mag(), set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inlineprotected |
|
inlinestatic |
|
inline |
Referenced by rectify().
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
Referenced by rectify().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by rectify().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by rectify().
|
inline |
|
inline |
|
inline |
|
protected |