CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::HepBoostX Class Reference

#include <CLHEP/Vector/BoostX.h>

Public Member Functions

 HepBoostX ()
 
 HepBoostX (const HepBoostX &b)
 
 HepBoostX (HepBoostX &&b)=default
 
HepBoostXoperator= (const HepBoostX &m)
 
HepBoostXoperator= (HepBoostX &&m)=default
 
HepBoostXset (double beta)
 
 HepBoostX (double beta)
 
double beta () const
 
double gamma () const
 
Hep3Vector boostVector () const
 
Hep3Vector getDirection () 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 HepBoostX &b) const
 
bool operator== (const HepBoostX &b) const
 
bool operator!= (const HepBoostX &b) const
 
bool operator<= (const HepBoostX &b) const
 
bool operator>= (const HepBoostX &b) const
 
bool operator< (const HepBoostX &b) const
 
bool operator> (const HepBoostX &b) const
 
bool isIdentity () const
 
double distance2 (const HepBoostX &b) const
 
double distance2 (const HepBoost &b) const
 
double distance2 (const HepRotation &r) const
 
double distance2 (const HepLorentzRotation &lt) const
 
double howNear (const HepBoostX &b) const
 
double howNear (const HepBoost &b) const
 
double howNear (const HepRotation &r) const
 
double howNear (const HepLorentzRotation &lt) const
 
bool isNear (const HepBoostX &b, double epsilon=Hep4RotationInterface::tolerance) 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 operator() (const HepLorentzVector &w) const
 
HepLorentzVector operator* (const HepLorentzVector &w) const
 
HepBoostX operator* (const HepBoostX &b) const
 
HepLorentzRotation operator* (const HepBoost &b) const
 
HepLorentzRotation operator* (const HepRotation &r) const
 
HepLorentzRotation operator* (const HepLorentzRotation &lt) const
 
HepBoostX inverse () const
 
HepBoostXinvert ()
 
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
 
 HepBoostX (double beta, double gamma)
 

Protected Attributes

double beta_
 
double gamma_
 

Friends

HepBoostX inverseOf (const HepBoostX &b)
 

Detailed Description

Author

Definition at line 38 of file BoostX.h.

Constructor & Destructor Documentation

◆ HepBoostX() [1/5]

CLHEP::HepBoostX::HepBoostX ( )
inline

Definition at line 16 of file BoostX.icc.

Referenced by inverse().

◆ HepBoostX() [2/5]

CLHEP::HepBoostX::HepBoostX ( const HepBoostX & b)
inline

Definition at line 18 of file BoostX.icc.

◆ HepBoostX() [3/5]

CLHEP::HepBoostX::HepBoostX ( HepBoostX && b)
inlinedefault

◆ HepBoostX() [4/5]

CLHEP::HepBoostX::HepBoostX ( double beta)
inline

Definition at line 28 of file BoostX.icc.

References set().

◆ HepBoostX() [5/5]

CLHEP::HepBoostX::HepBoostX ( double beta,
double gamma )
inlineprotected

Definition at line 31 of file BoostX.icc.

Member Function Documentation

◆ beta()

double CLHEP::HepBoostX::beta ( ) const
inline

Definition at line 36 of file BoostX.icc.

References beta_.

Referenced by col1(), col4(), compare(), CLHEP::HepBoost::distance2(), distance2(), inverse(), isIdentity(), tx(), and xt().

◆ boostVector()

Hep3Vector CLHEP::HepBoostX::boostVector ( ) const
inline

Definition at line 44 of file BoostX.icc.

References beta_.

Referenced by CLHEP::HepBoost::HepBoost(), and CLHEP::HepBoost::set().

◆ col1()

HepLorentzVector CLHEP::HepBoostX::col1 ( ) const
inline

Definition at line 69 of file BoostX.icc.

References beta(), and gamma().

Referenced by row1().

◆ col2()

HepLorentzVector CLHEP::HepBoostX::col2 ( ) const
inline

Definition at line 72 of file BoostX.icc.

Referenced by row2().

◆ col3()

HepLorentzVector CLHEP::HepBoostX::col3 ( ) const
inline

Definition at line 75 of file BoostX.icc.

Referenced by row3().

◆ col4()

HepLorentzVector CLHEP::HepBoostX::col4 ( ) const
inline

Definition at line 78 of file BoostX.icc.

References beta(), and gamma().

Referenced by row4().

◆ compare()

int CLHEP::HepBoostX::compare ( const HepBoostX & b) const
inline

Definition at line 97 of file BoostX.icc.

References beta().

◆ decompose() [1/4]

void CLHEP::HepBoostX::decompose ( Hep3Vector & boost,
HepAxisAngle & rotation ) const

◆ decompose() [2/4]

void CLHEP::HepBoostX::decompose ( HepAxisAngle & rotation,
Hep3Vector & boost ) const

◆ decompose() [3/4]

void CLHEP::HepBoostX::decompose ( HepBoost & boost,
HepRotation & rotation ) const

◆ decompose() [4/4]

void CLHEP::HepBoostX::decompose ( HepRotation & rotation,
HepBoost & boost ) const

◆ distance2() [1/4]

double CLHEP::HepBoostX::distance2 ( const HepBoost & b) const

◆ distance2() [2/4]

double CLHEP::HepBoostX::distance2 ( const HepBoostX & b) const
inline

Definition at line 130 of file BoostX.icc.

References beta(), and gamma().

Referenced by howNear(), howNear(), howNear(), howNear(), isNear(), and isNear().

◆ distance2() [3/4]

double CLHEP::HepBoostX::distance2 ( const HepLorentzRotation & lt) const

◆ distance2() [4/4]

double CLHEP::HepBoostX::distance2 ( const HepRotation & r) const

◆ gamma()

double CLHEP::HepBoostX::gamma ( ) const
inline

Definition at line 40 of file BoostX.icc.

References gamma_.

Referenced by col1(), col4(), CLHEP::HepBoost::distance2(), distance2(), inverse(), tt(), tx(), xt(), and xx().

◆ getDirection()

Hep3Vector CLHEP::HepBoostX::getDirection ( ) const
inline

Definition at line 48 of file BoostX.icc.

◆ getTolerance()

double CLHEP::HepBoostX::getTolerance ( )
inlinestatic

Definition at line 193 of file BoostX.icc.

References CLHEP::Hep4RotationInterface::tolerance.

◆ howNear() [1/4]

double CLHEP::HepBoostX::howNear ( const HepBoost & b) const
inline

Definition at line 137 of file BoostX.icc.

References distance2().

◆ howNear() [2/4]

double CLHEP::HepBoostX::howNear ( const HepBoostX & b) const
inline

Definition at line 135 of file BoostX.icc.

References distance2().

◆ howNear() [3/4]

double CLHEP::HepBoostX::howNear ( const HepLorentzRotation & lt) const
inline

Definition at line 141 of file BoostX.icc.

References distance2().

◆ howNear() [4/4]

double CLHEP::HepBoostX::howNear ( const HepRotation & r) const
inline

Definition at line 139 of file BoostX.icc.

References distance2().

◆ inverse()

HepBoostX CLHEP::HepBoostX::inverse ( ) const
inline

Definition at line 178 of file BoostX.icc.

References beta(), gamma(), and HepBoostX().

◆ invert()

HepBoostX & CLHEP::HepBoostX::invert ( )
inline

Definition at line 186 of file BoostX.icc.

References beta_.

◆ isIdentity()

bool CLHEP::HepBoostX::isIdentity ( ) const
inline

Definition at line 126 of file BoostX.icc.

References beta().

◆ isNear() [1/4]

bool CLHEP::HepBoostX::isNear ( const HepBoost & b,
double epsilon = Hep4RotationInterface::tolerance ) const
inline

Definition at line 148 of file BoostX.icc.

References distance2().

◆ isNear() [2/4]

bool CLHEP::HepBoostX::isNear ( const HepBoostX & b,
double epsilon = Hep4RotationInterface::tolerance ) const
inline

Definition at line 144 of file BoostX.icc.

References distance2().

◆ isNear() [3/4]

bool CLHEP::HepBoostX::isNear ( const HepLorentzRotation & lt,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ isNear() [4/4]

bool CLHEP::HepBoostX::isNear ( const HepRotation & r,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ matrixMultiplication() [1/2]

HepLorentzRotation CLHEP::HepBoostX::matrixMultiplication ( const HepRep4x4 & m) const
protected

◆ matrixMultiplication() [2/2]

HepLorentzRotation CLHEP::HepBoostX::matrixMultiplication ( const HepRep4x4Symmetric & m) const
protected

◆ norm2()

double CLHEP::HepBoostX::norm2 ( ) const
inline

Definition at line 155 of file BoostX.icc.

References beta_, and gamma_.

◆ operator!=()

bool CLHEP::HepBoostX::operator!= ( const HepBoostX & b) const
inline

Definition at line 110 of file BoostX.icc.

References beta_.

◆ operator()()

HepLorentzVector CLHEP::HepBoostX::operator() ( const HepLorentzVector & w) const
inline

Definition at line 172 of file BoostX.icc.

References operator*().

◆ operator*() [1/5]

HepLorentzRotation CLHEP::HepBoostX::operator* ( const HepBoost & b) const

◆ operator*() [2/5]

HepBoostX CLHEP::HepBoostX::operator* ( const HepBoostX & b) const

◆ operator*() [3/5]

HepLorentzRotation CLHEP::HepBoostX::operator* ( const HepLorentzRotation & lt) const

◆ operator*() [4/5]

HepLorentzVector CLHEP::HepBoostX::operator* ( const HepLorentzVector & w) const
inline

◆ operator*() [5/5]

HepLorentzRotation CLHEP::HepBoostX::operator* ( const HepRotation & r) const

◆ operator<()

bool CLHEP::HepBoostX::operator< ( const HepBoostX & b) const
inline

Definition at line 119 of file BoostX.icc.

References beta_.

◆ operator<=()

bool CLHEP::HepBoostX::operator<= ( const HepBoostX & b) const
inline

Definition at line 113 of file BoostX.icc.

References beta_.

◆ operator=() [1/2]

HepBoostX & CLHEP::HepBoostX::operator= ( const HepBoostX & m)
inline

Definition at line 22 of file BoostX.icc.

References beta_, and gamma_.

◆ operator=() [2/2]

HepBoostX & CLHEP::HepBoostX::operator= ( HepBoostX && m)
inlinedefault

◆ operator==()

bool CLHEP::HepBoostX::operator== ( const HepBoostX & b) const
inline

Definition at line 107 of file BoostX.icc.

References beta_.

◆ operator>()

bool CLHEP::HepBoostX::operator> ( const HepBoostX & b) const
inline

Definition at line 122 of file BoostX.icc.

References beta_.

◆ operator>=()

bool CLHEP::HepBoostX::operator>= ( const HepBoostX & b) const
inline

Definition at line 116 of file BoostX.icc.

References beta_.

◆ print()

std::ostream & CLHEP::HepBoostX::print ( std::ostream & os) const

◆ rectify()

void CLHEP::HepBoostX::rectify ( )

◆ rep4x4()

HepRep4x4 CLHEP::HepBoostX::rep4x4 ( ) const

◆ rep4x4Symmetric()

HepRep4x4Symmetric CLHEP::HepBoostX::rep4x4Symmetric ( ) const

◆ row1()

HepLorentzVector CLHEP::HepBoostX::row1 ( ) const
inline

Definition at line 82 of file BoostX.icc.

References col1().

◆ row2()

HepLorentzVector CLHEP::HepBoostX::row2 ( ) const
inline

Definition at line 85 of file BoostX.icc.

References col2().

◆ row3()

HepLorentzVector CLHEP::HepBoostX::row3 ( ) const
inline

Definition at line 88 of file BoostX.icc.

References col3().

◆ row4()

HepLorentzVector CLHEP::HepBoostX::row4 ( ) const
inline

Definition at line 91 of file BoostX.icc.

References col4().

◆ set()

HepBoostX & CLHEP::HepBoostX::set ( double beta)

Referenced by HepBoostX().

◆ setTolerance()

double CLHEP::HepBoostX::setTolerance ( double tol)
inlinestatic

Definition at line 196 of file BoostX.icc.

References CLHEP::Hep4RotationInterface::setTolerance().

◆ tt()

double CLHEP::HepBoostX::tt ( ) const
inline

Definition at line 67 of file BoostX.icc.

References gamma().

◆ tx()

double CLHEP::HepBoostX::tx ( ) const
inline

Definition at line 64 of file BoostX.icc.

References beta(), and gamma().

◆ ty()

double CLHEP::HepBoostX::ty ( ) const
inline

Definition at line 65 of file BoostX.icc.

◆ tz()

double CLHEP::HepBoostX::tz ( ) const
inline

Definition at line 66 of file BoostX.icc.

◆ vectorMultiplication()

HepLorentzVector CLHEP::HepBoostX::vectorMultiplication ( const HepLorentzVector & w) const
inlineprotected

◆ xt()

double CLHEP::HepBoostX::xt ( ) const
inline

Definition at line 55 of file BoostX.icc.

References beta(), and gamma().

◆ xx()

double CLHEP::HepBoostX::xx ( ) const
inline

Definition at line 52 of file BoostX.icc.

References gamma().

◆ xy()

double CLHEP::HepBoostX::xy ( ) const
inline

Definition at line 53 of file BoostX.icc.

◆ xz()

double CLHEP::HepBoostX::xz ( ) const
inline

Definition at line 54 of file BoostX.icc.

◆ yt()

double CLHEP::HepBoostX::yt ( ) const
inline

Definition at line 59 of file BoostX.icc.

◆ yx()

double CLHEP::HepBoostX::yx ( ) const
inline

Definition at line 56 of file BoostX.icc.

◆ yy()

double CLHEP::HepBoostX::yy ( ) const
inline

Definition at line 57 of file BoostX.icc.

◆ yz()

double CLHEP::HepBoostX::yz ( ) const
inline

Definition at line 58 of file BoostX.icc.

◆ zt()

double CLHEP::HepBoostX::zt ( ) const
inline

Definition at line 63 of file BoostX.icc.

◆ zx()

double CLHEP::HepBoostX::zx ( ) const
inline

Definition at line 60 of file BoostX.icc.

◆ zy()

double CLHEP::HepBoostX::zy ( ) const
inline

Definition at line 61 of file BoostX.icc.

◆ zz()

double CLHEP::HepBoostX::zz ( ) const
inline

Definition at line 62 of file BoostX.icc.

Friends And Related Symbol Documentation

◆ inverseOf

HepBoostX inverseOf ( const HepBoostX & b)
friend

Definition at line 182 of file BoostX.icc.

Member Data Documentation

◆ beta_

double CLHEP::HepBoostX::beta_
protected

◆ gamma_

double CLHEP::HepBoostX::gamma_
protected

Definition at line 208 of file BoostX.h.

Referenced by gamma(), norm2(), operator*(), and operator=().


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