CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
CLHEP::HepBoost Class Reference

#include <Boost.h>

Public Member Functions

 HepBoost ()
 
 HepBoost (const HepBoost &m)
 
 HepBoost (HepBoost &&m)=default
 
HepBoostoperator= (const HepBoost &m)
 
HepBoostoperator= (HepBoost &&m)=default
 
HepBoostset (double betaX, double betaY, double betaZ)
 
 HepBoost (double betaX, double betaY, double betaZ)
 
HepBoostset (const HepRep4x4Symmetric &m)
 
 HepBoost (const HepRep4x4Symmetric &m)
 
HepBoostset (Hep3Vector direction, double beta)
 
 HepBoost (Hep3Vector direction, double beta)
 
HepBoostset (const Hep3Vector &boost)
 
 HepBoost (const Hep3Vector &boost)
 
HepBoostset (const HepBoostX &boost)
 
HepBoostset (const HepBoostY &boost)
 
HepBoostset (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 &lt) 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 &lt) 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 &p) const
 
HepLorentzVector operator* (const HepLorentzVector &p) const
 
HepLorentzRotation operator* (const HepBoost &b) const
 
HepLorentzRotation operator* (const HepRotation &r) const
 
HepLorentzRotation operator* (const HepLorentzRotation &lt) const
 
HepBoost inverse () const
 
HepBoostinvert ()
 
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 &lt)
 

Detailed Description

Author

Definition at line 39 of file Boost.h.

Constructor & Destructor Documentation

◆ HepBoost() [1/11]

CLHEP::HepBoost::HepBoost ( )
inline

Referenced by decompose().

◆ HepBoost() [2/11]

CLHEP::HepBoost::HepBoost ( const HepBoost m)
inline

◆ HepBoost() [3/11]

CLHEP::HepBoost::HepBoost ( HepBoost &&  m)
inlinedefault

◆ HepBoost() [4/11]

CLHEP::HepBoost::HepBoost ( double  betaX,
double  betaY,
double  betaZ 
)
inline

◆ HepBoost() [5/11]

CLHEP::HepBoost::HepBoost ( const HepRep4x4Symmetric m)
inline

◆ HepBoost() [6/11]

CLHEP::HepBoost::HepBoost ( Hep3Vector  direction,
double  beta 
)
inline

◆ HepBoost() [7/11]

CLHEP::HepBoost::HepBoost ( const Hep3Vector boost)
inline

◆ HepBoost() [8/11]

CLHEP::HepBoost::HepBoost ( const HepBoostX boost)
inline

◆ HepBoost() [9/11]

CLHEP::HepBoost::HepBoost ( const HepBoostY boost)
inline

◆ HepBoost() [10/11]

CLHEP::HepBoost::HepBoost ( const HepBoostZ boost)
inline

◆ HepBoost() [11/11]

CLHEP::HepBoost::HepBoost ( double  xx,
double  xy,
double  xz,
double  xt,
double  yy,
double  yz,
double  yt,
double  zz,
double  zt,
double  tt 
)
inlineprotected

Member Function Documentation

◆ beta()

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

Referenced by print().

◆ boostVector()

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

◆ col1()

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

◆ col2()

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

◆ col3()

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

◆ col4()

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

◆ compare()

int CLHEP::HepBoost::compare ( const HepBoost b) const
inline

◆ decompose() [1/4]

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

Definition at line 89 of file Boost.cc.

89 {
90 rotation = HepAxisAngle();
91 boost = boostVector();
92}
Hep3Vector boostVector() const

◆ decompose() [2/4]

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

Definition at line 77 of file Boost.cc.

77 {
78 rotation = HepAxisAngle();
79 boost = boostVector();
80}

◆ decompose() [3/4]

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

Definition at line 82 of file Boost.cc.

82 {
83 HepAxisAngle vdelta = HepAxisAngle();
84 rotation = HepRotation(vdelta);
85 Hep3Vector bbeta = boostVector();
86 boost = HepBoost(bbeta);
87}

◆ decompose() [4/4]

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

Definition at line 70 of file Boost.cc.

70 {
71 HepAxisAngle vdelta = HepAxisAngle();
72 rotation = HepRotation(vdelta);
73 Hep3Vector bbeta = boostVector();
74 boost = HepBoost(bbeta);
75}

◆ direction()

Hep3Vector CLHEP::HepBoost::direction ( ) const
inline

◆ distance2() [1/6]

◆ distance2() [2/6]

double CLHEP::HepBoost::distance2 ( const HepBoostX bx) const
inline

◆ distance2() [3/6]

double CLHEP::HepBoost::distance2 ( const HepBoostY by) const
inline

◆ distance2() [4/6]

double CLHEP::HepBoost::distance2 ( const HepBoostZ bz) const
inline

◆ distance2() [5/6]

double CLHEP::HepBoost::distance2 ( const HepLorentzRotation lt) const

Definition at line 102 of file Boost.cc.

102 {
103 HepBoost b1;
104 HepRotation r1;
105 lt.decompose(b1,r1);
106 double db2 = distance2(b1);
107 double dr2 = r1.norm2();
108 return (db2 + dr2);
109}
double distance2(const HepBoost &b) const

◆ distance2() [6/6]

double CLHEP::HepBoost::distance2 ( const HepRotation r) const

Definition at line 96 of file Boost.cc.

96 {
97 double db2 = norm2();
98 double dr2 = r.norm2();
99 return (db2 + dr2);
100}
double norm2() const
Definition: Boost.cc:139

◆ gamma()

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

Referenced by print().

◆ getDirection()

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

◆ getTolerance()

static double CLHEP::HepBoost::getTolerance ( )
inlinestatic

◆ howNear() [1/3]

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

◆ howNear() [2/3]

double CLHEP::HepBoost::howNear ( const HepLorentzRotation lt) const

Definition at line 115 of file Boost.cc.

115 {
116 return std::sqrt(distance2(lt));
117}

◆ howNear() [3/3]

double CLHEP::HepBoost::howNear ( const HepRotation r) const

Definition at line 111 of file Boost.cc.

111 {
112 return std::sqrt(distance2(r));
113}

◆ inverse()

HepBoost CLHEP::HepBoost::inverse ( ) const
inline

◆ invert()

HepBoost & CLHEP::HepBoost::invert ( )
inline

◆ isIdentity()

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

◆ isNear() [1/3]

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

◆ isNear() [2/3]

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

Definition at line 126 of file Boost.cc.

127 {
128 HepBoost b1;
129 HepRotation r1;
130 double db2 = distance2(b1);
131 lt.decompose(b1,r1);
132 if (db2 > epsilon*epsilon) return false;
133 double dr2 = r1.norm2();
134 return (db2 + dr2);
135}

◆ isNear() [3/3]

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

Definition at line 119 of file Boost.cc.

119 {
120 double db2 = norm2();
121 if (db2 > epsilon*epsilon) return false;
122 double dr2 = r.norm2();
123 return (db2+dr2 <= epsilon*epsilon);
124}

◆ matrixMultiplication() [1/2]

HepLorentzRotation CLHEP::HepBoost::matrixMultiplication ( const HepRep4x4 m) const
protected

Definition at line 182 of file Boost.cc.

182 {
183 HepRep4x4Symmetric r = rep4x4Symmetric();
184 return HepLorentzRotation( HepRep4x4 (
185 r.xx_*m1.xx_ + r.xy_*m1.yx_ + r.xz_*m1.zx_ + r.xt_*m1.tx_,
186 r.xx_*m1.xy_ + r.xy_*m1.yy_ + r.xz_*m1.zy_ + r.xt_*m1.ty_,
187 r.xx_*m1.xz_ + r.xy_*m1.yz_ + r.xz_*m1.zz_ + r.xt_*m1.tz_,
188 r.xx_*m1.xt_ + r.xy_*m1.yt_ + r.xz_*m1.zt_ + r.xt_*m1.tt_,
189
190 r.xy_*m1.xx_ + r.yy_*m1.yx_ + r.yz_*m1.zx_ + r.yt_*m1.tx_,
191 r.xy_*m1.xy_ + r.yy_*m1.yy_ + r.yz_*m1.zy_ + r.yt_*m1.ty_,
192 r.xy_*m1.xz_ + r.yy_*m1.yz_ + r.yz_*m1.zz_ + r.yt_*m1.tz_,
193 r.xy_*m1.xt_ + r.yy_*m1.yt_ + r.yz_*m1.zt_ + r.yt_*m1.tt_,
194
195 r.xz_*m1.xx_ + r.yz_*m1.yx_ + r.zz_*m1.zx_ + r.zt_*m1.tx_,
196 r.xz_*m1.xy_ + r.yz_*m1.yy_ + r.zz_*m1.zy_ + r.zt_*m1.ty_,
197 r.xz_*m1.xz_ + r.yz_*m1.yz_ + r.zz_*m1.zz_ + r.zt_*m1.tz_,
198 r.xz_*m1.xt_ + r.yz_*m1.yt_ + r.zz_*m1.zt_ + r.zt_*m1.tt_,
199
200 r.xt_*m1.xx_ + r.yt_*m1.yx_ + r.zt_*m1.zx_ + r.tt_*m1.tx_,
201 r.xt_*m1.xy_ + r.yt_*m1.yy_ + r.zt_*m1.zy_ + r.tt_*m1.ty_,
202 r.xt_*m1.xz_ + r.yt_*m1.yz_ + r.zt_*m1.zz_ + r.tt_*m1.tz_,
203 r.xt_*m1.xt_ + r.yt_*m1.yt_ + r.zt_*m1.zt_ + r.tt_*m1.tt_) );
204}
HepRep4x4Symmetric rep4x4Symmetric() const

Referenced by operator*().

◆ matrixMultiplication() [2/2]

HepLorentzRotation CLHEP::HepBoost::matrixMultiplication ( const HepRep4x4Symmetric m) const
protected

Definition at line 207 of file Boost.cc.

207 {
208 HepRep4x4Symmetric r = rep4x4Symmetric();
209 return HepLorentzRotation( HepRep4x4 (
210 r.xx_*m1.xx_ + r.xy_*m1.xy_ + r.xz_*m1.xz_ + r.xt_*m1.xt_,
211 r.xx_*m1.xy_ + r.xy_*m1.yy_ + r.xz_*m1.yz_ + r.xt_*m1.yt_,
212 r.xx_*m1.xz_ + r.xy_*m1.yz_ + r.xz_*m1.zz_ + r.xt_*m1.zt_,
213 r.xx_*m1.xt_ + r.xy_*m1.yt_ + r.xz_*m1.zt_ + r.xt_*m1.tt_,
214
215 r.xy_*m1.xx_ + r.yy_*m1.xy_ + r.yz_*m1.xz_ + r.yt_*m1.xt_,
216 r.xy_*m1.xy_ + r.yy_*m1.yy_ + r.yz_*m1.yz_ + r.yt_*m1.yt_,
217 r.xy_*m1.xz_ + r.yy_*m1.yz_ + r.yz_*m1.zz_ + r.yt_*m1.zt_,
218 r.xy_*m1.xt_ + r.yy_*m1.yt_ + r.yz_*m1.zt_ + r.yt_*m1.tt_,
219
220 r.xz_*m1.xx_ + r.yz_*m1.xy_ + r.zz_*m1.xz_ + r.zt_*m1.xt_,
221 r.xz_*m1.xy_ + r.yz_*m1.yy_ + r.zz_*m1.yz_ + r.zt_*m1.yt_,
222 r.xz_*m1.xz_ + r.yz_*m1.yz_ + r.zz_*m1.zz_ + r.zt_*m1.zt_,
223 r.xz_*m1.xt_ + r.yz_*m1.yt_ + r.zz_*m1.zt_ + r.zt_*m1.tt_,
224
225 r.xt_*m1.xx_ + r.yt_*m1.xy_ + r.zt_*m1.xz_ + r.tt_*m1.xt_,
226 r.xt_*m1.xy_ + r.yt_*m1.yy_ + r.zt_*m1.yz_ + r.tt_*m1.yt_,
227 r.xt_*m1.xz_ + r.yt_*m1.yz_ + r.zt_*m1.zz_ + r.tt_*m1.zt_,
228 r.xt_*m1.xt_ + r.yt_*m1.yt_ + r.zt_*m1.zt_ + r.tt_*m1.tt_) );
229}

◆ norm2()

double CLHEP::HepBoost::norm2 ( ) const

Definition at line 139 of file Boost.cc.

139 {
140 double bgx = rep_.xt_;
141 double bgy = rep_.yt_;
142 double bgz = rep_.zt_;
143 return bgx*bgx+bgy*bgy+bgz*bgz;
144}
HepRep4x4Symmetric rep_
Definition: Boost.h:234

Referenced by distance2(), CLHEP::HepLorentzRotation::distance2(), isNear(), CLHEP::HepLorentzRotation::isNear(), and CLHEP::HepLorentzRotation::norm2().

◆ operator!=()

bool CLHEP::HepBoost::operator!= ( const HepBoost b) const
inline

◆ operator()()

HepLorentzVector CLHEP::HepBoost::operator() ( const HepLorentzVector p) const
inline

◆ operator*() [1/4]

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

Definition at line 237 of file Boost.cc.

237 {
238 return matrixMultiplication(b.rep_);
239}
HepLorentzRotation matrixMultiplication(const HepRep4x4 &m) const
Definition: Boost.cc:182

◆ operator*() [2/4]

HepLorentzRotation CLHEP::HepBoost::operator* ( const HepLorentzRotation lt) const

Definition at line 232 of file Boost.cc.

232 {
233 return matrixMultiplication(lt.rep4x4());
234}

◆ operator*() [3/4]

HepLorentzVector CLHEP::HepBoost::operator* ( const HepLorentzVector p) const
inline

◆ operator*() [4/4]

HepLorentzRotation CLHEP::HepBoost::operator* ( const HepRotation r) const

Definition at line 242 of file Boost.cc.

242 {
243 return matrixMultiplication(r.rep4x4());
244}

◆ operator<()

bool CLHEP::HepBoost::operator< ( const HepBoost b) const
inline

◆ operator<=()

bool CLHEP::HepBoost::operator<= ( const HepBoost b) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

bool CLHEP::HepBoost::operator== ( const HepBoost b) const
inline

◆ operator>()

bool CLHEP::HepBoost::operator> ( const HepBoost b) const
inline

◆ operator>=()

bool CLHEP::HepBoost::operator>= ( const HepBoost b) const
inline

◆ print()

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

Definition at line 248 of file Boost.cc.

248 {
249 if ( rep_.tt_ <= 1 ) {
250 os << "Lorentz Boost( IDENTITY )";
251 } else {
252 double norm = boostVector().mag();
253 os << "\nLorentz Boost " << boostVector()/norm <<
254 "\n{beta = " << beta() << " gamma = " << gamma() << "}\n";
255 }
256 return os;
257}
double mag() const
double beta() const
double gamma() const
double norm(const HepGenMatrix &m)
Definition: GenMatrix.cc:54

◆ rectify()

void CLHEP::HepBoost::rectify ( )

Definition at line 146 of file Boost.cc.

146 {
147 // Assuming the representation of this is close to a true pure boost,
148 // but may have drifted due to round-off error from many operations,
149 // this forms an "exact" pure boost matrix for the LT again.
150
151 // The natural way to do this is to use the t column as a boost and set
152 // based on that boost vector.
153
154 // There is perhaps danger that this boost vector will appear equal to or
155 // greater than a unit vector; the best we can do for such a case is use
156 // a boost in that direction but rescaled to just less than one.
157
158 // There is in principle no way that gamma could have become negative,
159 // but if that happens, we ZMthrow and (if continuing) just rescale, which
160 // will change the sign of the last column when computing the boost.
161
162 double gam = tt();
163 if (gam <= 0) { // 4/12/01 mf
164// ZMthrowA (ZMxpvTachyonic(
165 ZMthrowC (ZMxpvTachyonic(
166 "Attempt to rectify a boost with non-positive gamma."));
167 if (gam==0) return; // NaN-proofing
168 }
169 Hep3Vector boost (xt(), yt(), zt());
170 boost /= tt();
171 if ( boost.mag2() >= 1 ) { // NaN-proofing:
172 boost /= ( boost.mag() * ( 1.0 + 1.0e-16 ) ); // used to just check > 1
173 }
174 set ( boost );
175}
#define ZMthrowC(A)
Definition: ZMxpv.h:133
HepBoost & set(double betaX, double betaY, double betaZ)
Definition: Boost.cc:22
double yt() const
double xt() const
double tt() const
double zt() const

◆ rep4x4()

HepRep4x4 CLHEP::HepBoost::rep4x4 ( ) const
inline

◆ rep4x4Symmetric()

HepRep4x4Symmetric CLHEP::HepBoost::rep4x4Symmetric ( ) const
inline

Referenced by matrixMultiplication().

◆ row1()

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

◆ row2()

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

◆ row3()

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

◆ row4()

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

◆ set() [1/7]

HepBoost & CLHEP::HepBoost::set ( const Hep3Vector boost)

Definition at line 62 of file Boost.cc.

62 {
63 return set (bboost.x(), bboost.y(), bboost.z());
64}

◆ set() [2/7]

HepBoost & CLHEP::HepBoost::set ( const HepBoostX boost)
inline

◆ set() [3/7]

HepBoost & CLHEP::HepBoost::set ( const HepBoostY boost)
inline

◆ set() [4/7]

HepBoost & CLHEP::HepBoost::set ( const HepBoostZ boost)
inline

◆ set() [5/7]

HepBoost & CLHEP::HepBoost::set ( const HepRep4x4Symmetric m)

Definition at line 43 of file Boost.cc.

43 {
44 rep_ = m1;
45 return *this;
46}

◆ set() [6/7]

HepBoost & CLHEP::HepBoost::set ( double  betaX,
double  betaY,
double  betaZ 
)

Definition at line 22 of file Boost.cc.

22 {
23 double bp2 = bx*bx + by*by + bz*bz;
24 if (bp2 >= 1) {
25 ZMthrowA (ZMxpvTachyonic(
26 "Boost Vector supplied to set HepBoost represents speed >= c."));
27 }
28 double ggamma = 1.0 / std::sqrt(1.0 - bp2);
29 double bgamma = ggamma * ggamma / (1.0 + ggamma);
30 rep_.xx_ = 1.0 + bgamma * bx * bx;
31 rep_.yy_ = 1.0 + bgamma * by * by;
32 rep_.zz_ = 1.0 + bgamma * bz * bz;
33 rep_.xy_ = bgamma * bx * by;
34 rep_.xz_ = bgamma * bx * bz;
35 rep_.yz_ = bgamma * by * bz;
36 rep_.xt_ = ggamma * bx;
37 rep_.yt_ = ggamma * by;
38 rep_.zt_ = ggamma * bz;
39 rep_.tt_ = ggamma;
40 return *this;
41}
#define ZMthrowA(A)
Definition: ZMxpv.h:128

Referenced by CLHEP::HepLorentzRotation::decompose(), CLHEP::HepRotationX::decompose(), CLHEP::HepRotationY::decompose(), CLHEP::HepRotationZ::decompose(), rectify(), and set().

◆ set() [7/7]

HepBoost & CLHEP::HepBoost::set ( Hep3Vector  direction,
double  beta 
)

Definition at line 48 of file Boost.cc.

48 {
49 double length = ddirection.mag();
50 if (length <= 0) { // Nan-proofing
51 ZMthrowA (ZMxpvZeroVector(
52 "Direction supplied to set HepBoost is zero."));
53 set (0,0,0);
54 return *this;
55 }
56 set(bbeta*ddirection.x()/length,
57 bbeta*ddirection.y()/length,
58 bbeta*ddirection.z()/length);
59 return *this;
60}

◆ setBoost()

void CLHEP::HepBoost::setBoost ( double  bx,
double  by,
double  bz 
)
inlineprotected

◆ setTolerance()

static double CLHEP::HepBoost::setTolerance ( double  tol)
inlinestatic

◆ tt()

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

Referenced by rectify().

◆ tx()

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

◆ ty()

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

◆ tz()

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

◆ vectorMultiplication()

HepLorentzVector CLHEP::HepBoost::vectorMultiplication ( const HepLorentzVector w) const
inlineprotected

◆ xt()

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

Referenced by rectify().

◆ xx()

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

◆ xy()

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

◆ xz()

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

◆ yt()

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

Referenced by rectify().

◆ yx()

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

◆ yy()

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

◆ yz()

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

◆ zt()

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

Referenced by rectify().

◆ zx()

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

◆ zy()

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

◆ zz()

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

Friends And Related Function Documentation

◆ inverseOf

HepBoost inverseOf ( const HepBoost lt)
friend

Member Data Documentation

◆ rep_

HepRep4x4Symmetric CLHEP::HepBoost::rep_
protected

Definition at line 234 of file Boost.h.

Referenced by norm2(), operator*(), print(), and set().


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