#include <SpinOneLorentzRotation.h>
Public Member Functions | |
bool | isIdentity () const |
Returns true if the Identity matrix. | |
SpinOneLorentzRotation | inverse () const |
Return the inverse. | |
SpinOneLorentzRotation & | invert () |
Inverts the SpinOneLorentzRotation matrix. | |
std::ostream & | print (std::ostream &os) const |
output operator | |
Constructors and destructor. | |
SpinOneLorentzRotation () | |
Default constructor. | |
SpinOneLorentzRotation (double bx, double by, double bz, double gamma=-1.) | |
Constructor giving the components of a Lorentz boost. | |
SpinOneLorentzRotation (const Boost &b, double gamma=-1.) | |
Constructor giving the vector for a Lorentz boost. | |
Set methods for speical cases of simple rotations and boosts | |
SpinOneLorentzRotation & | setBoost (double bx, double by, double bz, double gamma=-1.) |
Specify the components of a Lorentz Boost. | |
SpinOneLorentzRotation & | setBoost (const Boost &b, double gamma=-1.) |
Specify a Lorentz Boost as a vector. | |
SpinOneLorentzRotation & | setRotate (double delta, const Axis &axis) |
Specify a rotation about a general axis by the angle given. | |
SpinOneLorentzRotation & | setRotateX (double angle) |
Specify a rotation by the given angle about the x-axis. | |
SpinOneLorentzRotation & | setRotateY (double angle) |
Specify a rotation by the given angle about the y-axis. | |
SpinOneLorentzRotation & | setRotateZ (double angle) |
Specify a rotation by the given angle about the z-axis. | |
Access methods for the components of the spin-1 rotation | |
double | xx () const |
The xx component. | |
double | xy () const |
The xy component. | |
double | xz () const |
The xz component. | |
double | xt () const |
The xt component. | |
double | yx () const |
The yx component. | |
double | yy () const |
The yy component. | |
double | yz () const |
The yz component. | |
double | yt () const |
The yt component. | |
double | zx () const |
The zx component. | |
double | zy () const |
The zy component. | |
double | zz () const |
The zz component. | |
double | zt () const |
The zt component. | |
double | tx () const |
The tx component. | |
double | ty () const |
The ty component. | |
double | tz () const |
The tz component. | |
double | tt () const |
The tt component. | |
Transformation and product members | |
template<typename Value> | |
LorentzVector< Value > | operator* (const LorentzVector< Value > &v) const |
Product with a LorentzVector simply returns the rotated vector. | |
template<typename Value> | |
Lorentz5Vector< Value > | operator* (const Lorentz5Vector< Value > &v) const |
Product with a Lorentz5Vector simply returns the rotated vector. | |
SpinOneLorentzRotation | operator* (const SpinOneLorentzRotation <) const |
Product of two LorentzRotations (this) * lt - matrix multiplication. | |
SpinOneLorentzRotation & | operator*= (const SpinOneLorentzRotation <) |
Multiply by and assign a*=b becomes a= a*b. | |
SpinOneLorentzRotation & | transform (const SpinOneLorentzRotation <) |
Transform (similar to *= but a.transform(b) becomes a = b*a. | |
SpinOneLorentzRotation & | rotateX (double delta) |
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT. | |
SpinOneLorentzRotation & | rotateY (double delta) |
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT. | |
SpinOneLorentzRotation & | rotateZ (double delta) |
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT. | |
SpinOneLorentzRotation & | rotate (double delta, const Axis &axis) |
Rotation around specified vector - LT = Rotation(delta,axis)*LT. | |
SpinOneLorentzRotation & | boostX (double beta) |
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT. | |
SpinOneLorentzRotation & | boostY (double beta) |
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT. | |
SpinOneLorentzRotation & | boostZ (double beta) |
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT. | |
SpinOneLorentzRotation & | boost (double bx, double by, double bz, double gamma=-1.) |
boost equivalent to LT = Boost(bx,by,bz) * LT | |
SpinOneLorentzRotation & | boost (const Boost &b, double gamma=-1.) |
boost equivalent to LT = Boost(bv) * LT | |
Private Member Functions | |
SpinOneLorentzRotation (double xx, double xy, double xz, double xt, double yx, double yy, double yz, double yt, double zx, double zy, double zz, double zt, double tx, double ty, double tz, double tt) | |
Constructor from doubles. | |
double | operator() (unsigned int i, unsigned int j) const |
Component access by index: x=0, t=3. | |
Component access. | |
double & | xx_ () |
double & | xy_ () |
double & | xz_ () |
double & | xt_ () |
double & | yx_ () |
double & | yy_ () |
double & | yz_ () |
double & | yt_ () |
double & | zx_ () |
double & | zy_ () |
double & | zz_ () |
double & | zt_ () |
double & | tx_ () |
double & | ty_ () |
double & | tz_ () |
double & | tt_ () |
Private Attributes | |
vector< double > | matrix_ |
Matrix components, order: . | |
Friends | |
class | Helicity::LorentzTensor |
class | Helicity::LorentzRSSpinor |
class | Helicity::LorentzRSSpinorBar |
..
Definition at line 24 of file SpinOneLorentzRotation.h.
ThePEG::SpinOneLorentzRotation::SpinOneLorentzRotation | ( | ) | [inline] |
ThePEG::SpinOneLorentzRotation::SpinOneLorentzRotation | ( | double | bx, | |
double | by, | |||
double | bz, | |||
double | gamma = -1. | |||
) | [inline] |
Constructor giving the components of a Lorentz boost.
bx | The x-component of the boost | |
by | The y-component of the boost | |
bz | The z-component of the boost | |
gamma | The factor (optional) |
Definition at line 44 of file SpinOneLorentzRotation.h.
References setBoost().
ThePEG::SpinOneLorentzRotation::SpinOneLorentzRotation | ( | const Boost & | b, | |
double | gamma = -1. | |||
) | [inline, explicit] |
Constructor giving the vector for a Lorentz boost.
b | The boost vector | |
gamma | The factor (optional) |
Definition at line 54 of file SpinOneLorentzRotation.h.
References setBoost(), ThePEG::ThreeVector< Value >::x(), ThePEG::ThreeVector< Value >::y(), and ThePEG::ThreeVector< Value >::z().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setBoost | ( | double | bx, | |
double | by, | |||
double | bz, | |||
double | gamma = -1. | |||
) |
Specify the components of a Lorentz Boost.
bx | The x-component of the boost | |
by | The y-component of the boost | |
bz | The z-component of the boost | |
gamma | The factor (optional) |
Referenced by setBoost(), ThePEG::LorentzRotation::setBoost(), ThePEG::LorentzRotation::setBoostX(), ThePEG::LorentzRotation::setBoostY(), ThePEG::LorentzRotation::setBoostZ(), and SpinOneLorentzRotation().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setBoost | ( | const Boost & | b, | |
double | gamma = -1. | |||
) | [inline] |
Specify a Lorentz Boost as a vector.
b | The boost vector | |
gamma | The factor (optional) |
Definition at line 97 of file SpinOneLorentzRotation.h.
References setBoost(), ThePEG::ThreeVector< Value >::x(), ThePEG::ThreeVector< Value >::y(), and ThePEG::ThreeVector< Value >::z().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setRotate | ( | double | delta, | |
const Axis & | axis | |||
) |
Specify a rotation about a general axis by the angle given.
delta | The angle | |
axis | The axis |
Referenced by rotate(), and ThePEG::LorentzRotation::setRotate().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setRotateX | ( | double | angle | ) |
Specify a rotation by the given angle about the x-axis.
angle | The rotation angle |
Referenced by rotateX(), and ThePEG::LorentzRotation::setRotateX().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setRotateY | ( | double | angle | ) |
Specify a rotation by the given angle about the y-axis.
angle | The rotation angle |
Referenced by rotateY().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::setRotateZ | ( | double | angle | ) |
Specify a rotation by the given angle about the z-axis.
angle | The rotation angle |
Referenced by rotateZ(), ThePEG::LorentzRotation::setRotateY(), and ThePEG::LorentzRotation::setRotateZ().
SpinOneLorentzRotation ThePEG::SpinOneLorentzRotation::operator* | ( | const SpinOneLorentzRotation & | lt | ) | const |
Product of two LorentzRotations (this) * lt - matrix multiplication.
lt | The LorentzRotation we are multiplying |
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::boost | ( | double | bx, | |
double | by, | |||
double | bz, | |||
double | gamma = -1. | |||
) | [inline] |
boost equivalent to LT = Boost(bx,by,bz) * LT
bx | The x-component of the boost | |
by | The y-component of the boost | |
bz | The z-component of the boost | |
gamma | The factor (optional) |
Definition at line 325 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
Referenced by ThePEG::LorentzRotation::boost().
SpinOneLorentzRotation& ThePEG::SpinOneLorentzRotation::boost | ( | const Boost & | b, | |
double | gamma = -1. | |||
) | [inline] |
boost equivalent to LT = Boost(bv) * LT
b | The boost vector | |
gamma | The factor (optional) |
Definition at line 335 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation(), ThePEG::ThreeVector< Value >::x(), ThePEG::ThreeVector< Value >::y(), and ThePEG::ThreeVector< Value >::z().