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 s1s4() 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.
Complex s3s3() const
The component.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
SpinHalfLorentzRotation & rotateY(double delta)
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
SpinHalfLorentzRotation & setBoostY(double &boost)
Specify a boost by the given factor along the y-axis.
Complex s1s2() const
The component.
Complex s2s2() const
The component.
SpinHalfLorentzRotation & rotateX(double delta)
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
Complex s2s3() const
The component.
Complex operator()(unsigned int i, unsigned int j) const
Fortran style subscript operator.
This is the main namespace within which all identifiers in ThePEG are declared.
friend SpinHalfLorentzRotation inverseOf(const SpinHalfLorentzRotation <)
The external inverseOf needs to be a friend.
SpinHalfLorentzRotation inverse() const
Return the inverse.
SpinHalfLorentzRotation & transform(const SpinHalfLorentzRotation &)
Transform (similar to *= but a.transform(b) becomes a = b*a.
Complex s3s1() const
The component.
Complex s4s3() const
The component.
SpinHalfLorentzRotation & setBoostX(double &boost)
Specify a boost by the given factor along the x-axis.
Complex s4s2() const
The component.
SpinHalfLorentzRotation()
Default constructor.
contains the ThreeVector class.
SpinHalfLorentzRotation operator*(const SpinHalfLorentzRotation <) const
Product of two SpinHalfLorentzRotations (this) * lt - matrix multiplication.
Complex s3s4() const
The component.
SpinHalfLorentzRotation & setRotateZ(double &angle)
Specify a rotation by the given angle about the z-axis.
std::ostream & print(std::ostream &os) const
output operator
Complex s2s1() const
The component.
SpinHalfLorentzRotation & setRotate(double delta, const Axis &axis)
Specify a rotation about a general axis by the angle given.
SpinHalfLorentzRotation & invert()
Inverts the SpinHalfLorentzRotation matrix.
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 & boostZ(double beta)
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
SpinHalfLorentzRotation & boost(double bx, double by, double bz, double gamma=-1.)
General boost equivalent to LT = Boost(bx,by,bz) * LT.
bool isIdentity() const
Returns true if the Identity matrix.
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...
SpinHalfLorentzRotation & operator*=(const SpinHalfLorentzRotation &)
Multiply by and assign a*=b becomes a= a*b.
Complex s2s4() const
The component.
Complex s3s2() const
The component.
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 s1s1() const
The component.
Complex s4s4() const
The component.
Complex s1s3() const
The component.
Complex s4s1() const
The component.