9 #ifndef THEPEG_SpinHalfLorentzRotation_H 10 #define THEPEG_SpinHalfLorentzRotation_H 14 #include "ThePEG/Helicity/HelicityDefinitions.h" 83 std::ostream &
print( std::ostream & os )
const;
236 assert(i<=3 && j<=3);
330 vector<vector<Complex> >
_mx;
Complex s4s4() const
The component.
Complex s1s1() const
The component.
SpinHalfLorentzRotation & boostY(double beta)
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT.
SpinHalfLorentzRotation & setBoostZ(double &boost)
Specify a boost by the given factor along the z-axis.
vector< vector< Complex > > _mx
The members of the transformation matrix.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
bool isIdentity() const
Returns true if the Identity matrix.
SpinHalfLorentzRotation & rotateY(double delta)
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
Complex s1s4() const
The component.
SpinHalfLorentzRotation & setBoostY(double &boost)
Specify a boost by the given factor along the y-axis.
Complex s4s1() const
The component.
Complex s3s1() const
The component.
SpinHalfLorentzRotation inverse() const
Return the inverse.
SpinHalfLorentzRotation & rotateX(double delta)
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
This is the main namespace within which all identifiers in ThePEG are declared.
Complex s2s3() const
The component.
friend SpinHalfLorentzRotation inverseOf(const SpinHalfLorentzRotation <)
The external inverseOf needs to be a friend.
Complex s3s3() const
The component.
SpinHalfLorentzRotation & transform(const SpinHalfLorentzRotation &)
Transform (similar to *= but a.transform(b) becomes a = b*a.
SpinHalfLorentzRotation & setBoostX(double &boost)
Specify a boost by the given factor along the x-axis.
Complex s4s2() const
The component.
SpinHalfLorentzRotation()
Default constructor.
Complex s4s3() const
The component.
contains the ThreeVector class.
Complex s2s4() const
The component.
Complex s3s4() const
The component.
SpinHalfLorentzRotation & setRotateZ(double &angle)
Specify a rotation by the given angle about the z-axis.
SpinHalfLorentzRotation & setRotate(double delta, const Axis &axis)
Specify a rotation about a general axis by the angle given.
SpinHalfLorentzRotation & invert()
Inverts the SpinHalfLorentzRotation matrix.
Complex s1s2() const
The component.
SpinHalfLorentzRotation & boostX(double beta)
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT.
SpinHalfLorentzRotation & setRotateX(double &angle)
Specify a rotation by the given angle about the x-axis.
SpinHalfLorentzRotation operator*(const SpinHalfLorentzRotation <) const
Product of two SpinHalfLorentzRotations (this) * lt - matrix multiplication.
SpinHalfLorentzRotation & boostZ(double beta)
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
Complex operator()(unsigned int i, unsigned int j) const
Fortran style subscript operator.
Complex s2s1() const
The component.
SpinHalfLorentzRotation & boost(double bx, double by, double bz, double gamma=-1.)
General boost equivalent to LT = Boost(bx,by,bz) * LT.
SpinHalfLorentzRotation & setRotateY(double &angle)
Specify a rotation by the given angle about the y-axis.
SpinHalfLorentzRotation & rotateZ(double delta)
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT.
vector< T > & operator<<(vector< T > &tv, const U &u)
Overload the left shift operator for vector to push_back objects to a vector.
The SpinHalfLorentzRotation class is designed to offer the same features as the HepLorentzRotation cl...
Complex s3s2() const
The component.
std::ostream & print(std::ostream &os) const
output operator
Complex s2s2() const
The component.
SpinHalfLorentzRotation & operator*=(const SpinHalfLorentzRotation &)
Multiply by and assign a*=b becomes a= a*b.
SpinHalfLorentzRotation & rotate(double delta, const Axis &axis)
Rotation around specified vector - LT = Rotation(delta,axis)*LT.
SpinHalfLorentzRotation & setBoost(double bx, double by, double bz, double gamma=-1.)
Specify the components of a Lorentz Boost.
Complex s1s3() const
The component.