HepLorentzRotation


This is the definition of the HepLorentzRotation class for performing rotations on objects of the HepLorentzVector class.

Authors

Leif Lonnblad.
Modified by Evgueni Tcherniaev.

See also

Hep3Vector, HepRotation, HepLorentzVector.

Declaration

#include "CLHEP/Vector/LorentzRotation.h"

class HepLorentzRotation

Public Member Functions

Constructors
inline HepLorentzRotation()
Default constructor. Gives a unit matrix.

inline HepLorentzRotation(const HepRotation &)
Constructor from HepRotation.

inline HepLorentzRotation(HepDouble, HepDouble, HepDouble)
Constructor giving a Lorenz-boost.

inline HepLorentzRotation(const Hep3Vector &)
Constructor giving a Lorenz-boost.
Copy constructor
inline HepLorentzRotation(const HepLorentzRotation &)
=
inline HepLorentzRotation & operator = (const HepLorentzRotation &)
inline HepLorentzRotation & operator = (const HepRotation &)
Assignment.
*
inline HepLorentzVector operator * (const HepLorentzVector &) const
Multiplication with a HepLorentzVector.

inline HepLorentzRotation operator * (const HepLorentzRotation &) const
Matrix multiplication.
*=
inline HepLorentzRotation & operator *= (const HepLorentzRotation &)
Matrix multiplication.
==
inline HepBoolean operator == (const HepLorentzRotation &) const
Test for equality.
!=
inline HepBoolean operator != (const HepLorentzRotation &) const
Test for inequality.
()
HepDouble operator () (int, int) const
Fortran-style subscripting; returns (i,j) element of the matrix.
[]
inline const HepLorentzRotation_row operator [] (int) const
Returns object of the helper class for C-style subscripting r[i][j]
boost
inline HepLorentzRotation & boost(HepDouble, HepDouble, HepDouble)
inline HepLorentzRotation & boost(const Hep3Vector &)
Lorenz boost.
inverse
inline HepLorentzRotation inverse() const
Returns the inverse.
invert
inline HepLorentzRotation & invert()
Inverts the matrix.
isIdentity
inline HepBoolean isIdentity() const
Returns true if the identity matrix.
matrixMultiplication
HepLorentzRotation matrixMultiplication(const HepLorentzRotation &) const
Matrix multiplication.
rotate
inline HepLorentzRotation & rotate(HepDouble, const Hep3Vector &)
inline HepLorentzRotation & rotate(HepDouble, const Hep3Vector *)
Rotation around a specified vector.
rotateX
HepLorentzRotation & rotateX(HepDouble)
Rotation around the x-axis.
rotateY
HepLorentzRotation & rotateY(HepDouble)
Rotation around the y-axis.
rotateZ
HepLorentzRotation & rotateZ(HepDouble)
Rotation around the z-axis.
transform
inline HepLorentzRotation & transform(const HepLorentzRotation &)
Matrix multiplication.
Note a *= b <=> a = a * b while a.transform(b) <=> a = b * a

inline HepLorentzRotation & transform(const HepRotation &)
Matrix multiplication.
Note a *= b <=> a = a * b while a.transform(b) <=> a = b * a
tt
inline HepDouble tt() const
Return tt element of the matrix.
tx
inline HepDouble tx() const
Return tx element of the matrix.
ty
inline HepDouble ty() const
Return ty element of the matrix.
tz
inline HepDouble tz() const
Return tz element of the matrix.
vectorMultiplication
inline HepLorentzVector vectorMultiplication(const HepLorentzVector &) const
Multiplication with a HepLorentzVector.
xx
inline HepDouble xx() const
Return xx element of the matrix.
xy
inline HepDouble xy() const
Return xy element of the matrix.
xz
inline HepDouble xz() const
Return xz element of the matrix.
xt
inline HepDouble xt() const
Return xt element of the matrix.
yx
inline HepDouble yx() const
Return yx element of the matrix.
yy
inline HepDouble yy() const
Return yy element of the matrix.
yz
inline HepDouble yz() const
Return yz element of the matrix.
yt
inline HepDouble yt() const
Return yt element of the matrix.
zx
inline HepDouble zx() const
Return zx element of the matrix.
zy
inline HepDouble zy() const
Return zy element of the matrix.
zz
inline HepDouble zz() const
Return zz element of the matrix.
zt
inline HepDouble zt() const
Return zt element of the matrix.

Example

CLHEP/test/testLorentzVector.cc


03 May 1999
EVC