ThePEG 2.3.0
|
The SpinOneLorentzRotation class is ... More...
#include <SpinOneLorentzRotation.h>
Public Member Functions | |
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. | |
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 | |
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. | |
Private Member Functions | |
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_ () |
Transformation and product members | |
template<typename Value > | |
class | Helicity::LorentzTensor |
template<typename Value > | |
class | Helicity::LorentzRank3Tensor |
template<typename Value > | |
class | Helicity::LorentzRSSpinor |
template<typename Value > | |
class | Helicity::LorentzRSSpinorBar |
array< double, 16 > | matrix_ = {} |
Matrix components, order: \((xx, xy, \ldots, tz, tt)\). | |
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 | |
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. | |
The SpinOneLorentzRotation class is ...
Definition at line 25 of file SpinOneLorentzRotation.h.
|
inline |
|
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 \(\gamma\) factor (optional) |
Definition at line 45 of file SpinOneLorentzRotation.h.
References setBoost().
|
inlineexplicit |
Constructor giving the vector for a Lorentz boost.
b | The boost vector |
gamma | The \(\gamma\) factor (optional) |
Definition at line 55 of file SpinOneLorentzRotation.h.
References setBoost().
|
inline |
boost equivalent to LT = Boost(bv) * LT
b | The boost vector |
gamma | The \(\gamma\) factor (optional) |
Definition at line 336 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
|
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 \(\gamma\) factor (optional) |
Definition at line 326 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
Referenced by ThePEG::LorentzRotation::boost().
|
inline |
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT.
Definition at line 301 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
Referenced by ThePEG::LorentzRotation::boostX().
|
inline |
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT.
Definition at line 308 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
Referenced by ThePEG::LorentzRotation::boostY().
|
inline |
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
Definition at line 315 of file SpinOneLorentzRotation.h.
References SpinOneLorentzRotation().
Referenced by ThePEG::LorentzRotation::boostZ().
|
inline |
Inverts the SpinOneLorentzRotation matrix.
Definition at line 74 of file SpinOneLorentzRotation.h.
References inverse().
|
inlineprivate |
Component access by index: x=0, t=3.
Definition at line 358 of file SpinOneLorentzRotation.h.
References matrix_.
|
inline |
|
inline |
SpinOneLorentzRotation ThePEG::SpinOneLorentzRotation::operator* | ( | const SpinOneLorentzRotation & | lt | ) | const |
Product of two LorentzRotations (this) * lt - matrix multiplication
lt | The LorentzRotation we are multiplying |
|
inline |
Multiply by and assign a*=b becomes a= a*b.
Definition at line 251 of file SpinOneLorentzRotation.h.
|
inline |
Rotation around specified vector - LT = Rotation(delta,axis)*LT.
Definition at line 292 of file SpinOneLorentzRotation.h.
References setRotate().
Referenced by ThePEG::LorentzRotation::rotate().
|
inline |
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
Definition at line 265 of file SpinOneLorentzRotation.h.
References setRotateX().
Referenced by ThePEG::LorentzRotation::rotateX().
|
inline |
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
Definition at line 274 of file SpinOneLorentzRotation.h.
References setRotateY().
Referenced by ThePEG::LorentzRotation::rotateY().
|
inline |
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT.
Definition at line 283 of file SpinOneLorentzRotation.h.
References setRotateZ().
Referenced by ThePEG::LorentzRotation::rotateZ().
|
inline |
Specify a Lorentz Boost as a vector.
b | The boost vector |
gamma | The \(\gamma\) factor (optional) |
Definition at line 98 of file SpinOneLorentzRotation.h.
References setBoost().
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 \(\gamma\) factor (optional) |
Referenced by setBoost(), ThePEG::LorentzRotation::setBoost(), ThePEG::LorentzRotation::setBoostX(), ThePEG::LorentzRotation::setBoostY(), ThePEG::LorentzRotation::setBoostZ(), and SpinOneLorentzRotation().
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().
|
inline |
Transform (similar to *= but a.transform(b) becomes a = b*a.
Definition at line 258 of file SpinOneLorentzRotation.h.
Referenced by ThePEG::LorentzRotation::transform().
|
inline |
The tt component.
Definition at line 210 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::tt().
|
inlineprivate |
Definition at line 382 of file SpinOneLorentzRotation.h.
|
inline |
The tx component.
Definition at line 195 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::tx().
|
inlineprivate |
Definition at line 379 of file SpinOneLorentzRotation.h.
|
inline |
The ty component.
Definition at line 200 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::ty().
|
inlineprivate |
Definition at line 380 of file SpinOneLorentzRotation.h.
|
inline |
The tz component.
Definition at line 205 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::tz().
|
inlineprivate |
Definition at line 381 of file SpinOneLorentzRotation.h.
|
inline |
The xt component.
Definition at line 150 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::xt().
|
inlineprivate |
Definition at line 367 of file SpinOneLorentzRotation.h.
|
inline |
The xx component.
Definition at line 135 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::xx().
|
inlineprivate |
Definition at line 364 of file SpinOneLorentzRotation.h.
|
inline |
The xy component.
Definition at line 140 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::xy().
|
inlineprivate |
Definition at line 365 of file SpinOneLorentzRotation.h.
|
inline |
The xz component.
Definition at line 145 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::xz().
|
inlineprivate |
Definition at line 366 of file SpinOneLorentzRotation.h.
|
inline |
The yt component.
Definition at line 170 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::yt().
|
inlineprivate |
Definition at line 372 of file SpinOneLorentzRotation.h.
|
inline |
The yx component.
Definition at line 155 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::yx().
|
inlineprivate |
Definition at line 369 of file SpinOneLorentzRotation.h.
|
inline |
The yy component.
Definition at line 160 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::yy().
|
inlineprivate |
Definition at line 370 of file SpinOneLorentzRotation.h.
|
inline |
The yz component.
Definition at line 165 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::yz().
|
inlineprivate |
Definition at line 371 of file SpinOneLorentzRotation.h.
|
inline |
The zt component.
Definition at line 190 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::zt().
|
inlineprivate |
Definition at line 377 of file SpinOneLorentzRotation.h.
|
inline |
The zx component.
Definition at line 175 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::zx().
|
inlineprivate |
Definition at line 374 of file SpinOneLorentzRotation.h.
|
inline |
The zy component.
Definition at line 180 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::zy().
|
inlineprivate |
Definition at line 375 of file SpinOneLorentzRotation.h.
|
inline |
The zz component.
Definition at line 185 of file SpinOneLorentzRotation.h.
References matrix_.
Referenced by operator*(), and ThePEG::LorentzRotation::zz().
|
inlineprivate |
Definition at line 376 of file SpinOneLorentzRotation.h.
|
friend |
Definition at line 344 of file SpinOneLorentzRotation.h.
|
friend |
Definition at line 345 of file SpinOneLorentzRotation.h.
|
friend |
Definition at line 346 of file SpinOneLorentzRotation.h.
|
friend |
Definition at line 343 of file SpinOneLorentzRotation.h.
|
private |