CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Vector/Boost.h>
Public Member Functions | |
HepBoost () | |
HepBoost (const HepBoost &m) | |
HepBoost (HepBoost &&m)=default | |
HepBoost & | operator= (const HepBoost &m) |
HepBoost & | operator= (HepBoost &&m)=default |
HepBoost & | set (double betaX, double betaY, double betaZ) |
HepBoost (double betaX, double betaY, double betaZ) | |
HepBoost & | set (const HepRep4x4Symmetric &m) |
HepBoost (const HepRep4x4Symmetric &m) | |
HepBoost & | set (Hep3Vector direction, double beta) |
HepBoost (Hep3Vector direction, double beta) | |
HepBoost & | set (const Hep3Vector &boost) |
HepBoost (const Hep3Vector &boost) | |
HepBoost & | set (const HepBoostX &boost) |
HepBoost & | set (const HepBoostY &boost) |
HepBoost & | set (const HepBoostZ &boost) |
HepBoost (const HepBoostX &boost) | |
HepBoost (const HepBoostY &boost) | |
HepBoost (const HepBoostZ &boost) | |
double | beta () const |
double | gamma () const |
Hep3Vector | boostVector () const |
Hep3Vector | getDirection () const |
Hep3Vector | direction () const |
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 |
HepRep4x4Symmetric | rep4x4Symmetric () const |
void | decompose (HepRotation &rotation, HepBoost &boost) const |
void | decompose (HepAxisAngle &rotation, Hep3Vector &boost) const |
void | decompose (HepBoost &boost, HepRotation &rotation) const |
void | decompose (Hep3Vector &boost, HepAxisAngle &rotation) const |
int | compare (const HepBoost &b) const |
bool | operator== (const HepBoost &b) const |
bool | operator!= (const HepBoost &b) const |
bool | operator<= (const HepBoost &b) const |
bool | operator>= (const HepBoost &b) const |
bool | operator< (const HepBoost &b) const |
bool | operator> (const HepBoost &b) const |
bool | isIdentity () 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 HepRotation &r) const |
double | distance2 (const HepLorentzRotation <) const |
double | howNear (const HepBoost &b) const |
bool | isNear (const HepBoost &b, double epsilon=Hep4RotationInterface::tolerance) const |
double | howNear (const HepRotation &r) const |
double | howNear (const HepLorentzRotation <) const |
bool | isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const |
bool | isNear (const HepLorentzRotation <, double epsilon=Hep4RotationInterface::tolerance) const |
double | norm2 () const |
void | rectify () |
HepLorentzVector | operator() (const HepLorentzVector &p) const |
HepLorentzVector | operator* (const HepLorentzVector &p) const |
HepLorentzRotation | operator* (const HepBoost &b) const |
HepLorentzRotation | operator* (const HepRotation &r) const |
HepLorentzRotation | operator* (const HepLorentzRotation <) const |
HepBoost | inverse () const |
HepBoost & | invert () |
std::ostream & | print (std::ostream &os) const |
Static Public Member Functions | |
static double | getTolerance () |
static double | setTolerance (double tol) |
Protected Member Functions | |
HepLorentzVector | vectorMultiplication (const HepLorentzVector &w) const |
HepLorentzRotation | matrixMultiplication (const HepRep4x4 &m) const |
HepLorentzRotation | matrixMultiplication (const HepRep4x4Symmetric &m) const |
HepBoost (double xx, double xy, double xz, double xt, double yy, double yz, double yt, double zz, double zt, double tt) | |
void | setBoost (double bx, double by, double bz) |
Protected Attributes | |
HepRep4x4Symmetric | rep_ |
Friends | |
HepBoost | inverseOf (const HepBoost <) |
|
inline |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
Definition at line 32 of file Boost.icc.
References CLHEP::Hep3Vector::mag(), set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), and ZMthrowC.
|
inline |
Definition at line 44 of file Boost.icc.
References set(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inline |
Definition at line 49 of file Boost.icc.
References CLHEP::HepBoostX::boostVector(), and set().
|
inline |
Definition at line 50 of file Boost.icc.
References CLHEP::HepBoostY::boostVector(), and set().
|
inline |
Definition at line 51 of file Boost.icc.
References CLHEP::HepBoostZ::boostVector(), and set().
|
inlineprotected |
|
inline |
Definition at line 69 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::tt_.
Referenced by getDirection().
|
inline |
Definition at line 77 of file Boost.icc.
References rep_, CLHEP::HepRep4x4Symmetric::tt_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
Referenced by getDirection().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 149 of file Boost.icc.
References rep4x4Symmetric(), 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 operator<(), operator<=(), operator>(), and operator>=().
void CLHEP::HepBoost::decompose | ( | Hep3Vector & | boost, |
HepAxisAngle & | rotation ) const |
void CLHEP::HepBoost::decompose | ( | HepAxisAngle & | rotation, |
Hep3Vector & | boost ) const |
void CLHEP::HepBoost::decompose | ( | HepBoost & | boost, |
HepRotation & | rotation ) const |
void CLHEP::HepBoost::decompose | ( | HepRotation & | rotation, |
HepBoost & | boost ) const |
|
inline |
Definition at line 86 of file Boost.icc.
References getDirection().
|
inline |
Definition at line 195 of file Boost.icc.
References rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
|
inline |
Definition at line 202 of file Boost.icc.
References CLHEP::HepBoostX::beta(), CLHEP::HepBoostX::gamma(), rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
|
inline |
Definition at line 209 of file Boost.icc.
References CLHEP::HepBoostY::beta(), CLHEP::HepBoostY::gamma(), rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
|
inline |
Definition at line 216 of file Boost.icc.
References CLHEP::HepBoostZ::beta(), CLHEP::HepBoostZ::gamma(), rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
double CLHEP::HepBoost::distance2 | ( | const HepLorentzRotation & | lt | ) | const |
double CLHEP::HepBoost::distance2 | ( | const HepRotation & | r | ) | const |
|
inline |
Definition at line 73 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::tt_.
|
inline |
Definition at line 81 of file Boost.icc.
References beta(), boostVector(), and CLHEP::norm().
Referenced by direction().
|
inlinestatic |
Definition at line 282 of file Boost.icc.
References CLHEP::Hep4RotationInterface::tolerance.
|
inline |
Definition at line 223 of file Boost.icc.
References distance2().
double CLHEP::HepBoost::howNear | ( | const HepLorentzRotation & | lt | ) | const |
double CLHEP::HepBoost::howNear | ( | const HepRotation & | r | ) | const |
|
inline |
|
inline |
Definition at line 273 of file Boost.icc.
References rep_, CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::yt_, and CLHEP::HepRep4x4Symmetric::zt_.
|
inline |
|
inline |
Definition at line 227 of file Boost.icc.
References distance2().
bool CLHEP::HepBoost::isNear | ( | const HepLorentzRotation & | lt, |
double | epsilon = Hep4RotationInterface::tolerance ) const |
bool CLHEP::HepBoost::isNear | ( | const HepRotation & | r, |
double | epsilon = Hep4RotationInterface::tolerance ) const |
|
protected |
|
protected |
double CLHEP::HepBoost::norm2 | ( | ) | const |
|
inline |
|
inline |
Definition at line 247 of file Boost.icc.
References vectorMultiplication().
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepBoost & | b | ) | const |
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepLorentzRotation & | lt | ) | const |
|
inline |
Definition at line 252 of file Boost.icc.
References vectorMultiplication().
HepLorentzRotation CLHEP::HepBoost::operator* | ( | const HepRotation & | r | ) | const |
|
inline |
|
inline |
|
inline |
Definition at line 165 of file Boost.icc.
References rep4x4Symmetric(), 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_.
|
inline |
|
inline |
std::ostream & CLHEP::HepBoost::print | ( | std::ostream & | os | ) | const |
void CLHEP::HepBoost::rectify | ( | ) |
|
inline |
Definition at line 133 of file Boost.icc.
References rep_.
Referenced by CLHEP::HepLorentzRotation::HepLorentzRotation(), CLHEP::HepLorentzRotation::operator*(), CLHEP::HepLorentzRotation::operator*=(), CLHEP::HepLorentzRotation::operator=(), and CLHEP::HepLorentzRotation::set().
|
inline |
Definition at line 137 of file Boost.icc.
References rep_.
Referenced by compare(), and operator==().
|
inline |
|
inline |
|
inline |
|
inline |
HepBoost & CLHEP::HepBoost::set | ( | const Hep3Vector & | boost | ) |
Definition at line 52 of file Boost.icc.
References CLHEP::HepBoostX::boostVector(), and set().
Definition at line 54 of file Boost.icc.
References CLHEP::HepBoostY::boostVector(), and set().
Definition at line 56 of file Boost.icc.
References CLHEP::HepBoostZ::boostVector(), and set().
HepBoost & CLHEP::HepBoost::set | ( | const HepRep4x4Symmetric & | m | ) |
HepBoost & CLHEP::HepBoost::set | ( | double | betaX, |
double | betaY, | ||
double | betaZ ) |
Referenced by HepBoost(), HepBoost(), HepBoost(), HepBoost(), HepBoost(), HepBoost(), set(), set(), set(), and setBoost().
HepBoost & CLHEP::HepBoost::set | ( | Hep3Vector | direction, |
double | beta ) |
|
inlineprotected |
|
inlinestatic |
Definition at line 285 of file Boost.icc.
References CLHEP::Hep4RotationInterface::setTolerance().
|
inline |
Definition at line 105 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::tt_.
Referenced by col4(), inverse(), and isIdentity().
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Definition at line 235 of file Boost.icc.
References rep_, CLHEP::HepLorentzVector::t(), CLHEP::HepRep4x4Symmetric::tt_, CLHEP::HepLorentzVector::x(), CLHEP::HepRep4x4Symmetric::xt_, CLHEP::HepRep4x4Symmetric::xx_, CLHEP::HepRep4x4Symmetric::xy_, CLHEP::HepRep4x4Symmetric::xz_, CLHEP::HepLorentzVector::y(), CLHEP::HepRep4x4Symmetric::yt_, CLHEP::HepRep4x4Symmetric::yy_, CLHEP::HepRep4x4Symmetric::yz_, CLHEP::HepLorentzVector::z(), CLHEP::HepRep4x4Symmetric::zt_, and CLHEP::HepRep4x4Symmetric::zz_.
Referenced by operator()(), and operator*().
|
inline |
Definition at line 93 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::xt_.
Referenced by col4(), and isIdentity().
|
inline |
Definition at line 90 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::xx_.
Referenced by col1(), inverse(), and isIdentity().
|
inline |
Definition at line 91 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::xy_.
Referenced by col2(), and isIdentity().
|
inline |
Definition at line 92 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::xz_.
Referenced by col3(), and isIdentity().
|
inline |
Definition at line 97 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::yt_.
Referenced by col4(), and isIdentity().
|
inline |
|
inline |
Definition at line 95 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::yy_.
Referenced by col2(), inverse(), and isIdentity().
|
inline |
Definition at line 96 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::yz_.
Referenced by col3(), and isIdentity().
|
inline |
Definition at line 101 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::zt_.
Referenced by col4(), and isIdentity().
|
inline |
|
inline |
|
inline |
Definition at line 100 of file Boost.icc.
References rep_, and CLHEP::HepRep4x4Symmetric::zz_.
Referenced by col3(), inverse(), and isIdentity().
|
protected |
Definition at line 234 of file Boost.h.
Referenced by beta(), boostVector(), compare(), distance2(), distance2(), distance2(), distance2(), gamma(), invert(), operator=(), operator==(), rep4x4(), rep4x4Symmetric(), tt(), tx(), ty(), tz(), vectorMultiplication(), xt(), xx(), xy(), xz(), yt(), yx(), yy(), yz(), zt(), zx(), zy(), and zz().