9 #ifndef ThePEG_LorentzSpinorBar_H 10 #define ThePEG_LorentzSpinorBar_H 13 #include "ThePEG/Config/ThePEG.h" 14 #include "ThePEG/Vectors/LorentzRotation.h" 15 #include "ThePEG/Vectors/ThreeVector.h" 17 #include "LorentzSpinor.fh" 18 #include "LorentzSpinorBar.fh" 34 template<
typename Value>
44 for(
unsigned int ix=0;ix<4;++ix)
_spin[ix]=Value();
52 complex<Value> c, complex<Value> d,
68 assert( i>= 0 && i <= 3 );
76 assert( i>= 0 && i <= 3 );
84 assert( i>= 0 && i <= 3 );
92 assert( i>= 0 && i <= 3 );
99 complex<Value>
s1()
const {
return _spin[0];}
198 #ifndef ThePEG_TEMPLATES_IN_CC_FILE 199 #include "LorentzSpinorBar.tcc" LorentzSpinorBar(complex< Value > a, complex< Value > b, complex< Value > c, complex< Value > d, SpinorType t=unknown_spinortype)
Constructor with complex numbers specifying the components, optionally specifying t...
LorentzSpinorBar & boost(double, double, double)
Standard Lorentz boost specifying the components of the beta vector.
LorentzSpinorBar & transform(const SpinHalfLorentzRotation &)
General Lorentz transformation.
This file contains enumerations used by LorentzSpinor and LorentzSpinorBar classes.
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
complex< Value > s3() const
Get third component.
complex< Value > & operator[](int i)
Set components by index.
This is the main namespace within which all identifiers in ThePEG are declared.
void setS4(complex< Value > in)
Set fourth component.
LorentzSpinor< Value > bar() const
Return the barred spinor.
The LorentzSpinor class is designed to store a spinor.
const SpinHalfLorentzRotation & half() const
The spin- transformation.
complex< Value > & operator()(int i)
Set components by index.
complex< Value > operator()(int i) const
Subscript operator to return spinor components.
LorentzSpinorBar(SpinorType t=unknown_spinortype)
Default zero constructor, optionally specifying t, the type.
complex< Value > s1() const
Get first component.
void setS3(complex< Value > in)
Set third component.
complex< Value > s2() const
Get second component.
void setS2(complex< Value > in)
Set second component.
SpinorType Type() const
Return the type of the spinor.
complex< Value > operator[](int i) const
Subscript operator to return spinor components.
SpinorType
Enumeration to specify spinor type.
void setS1(complex< Value > in)
Set first component.
complex< Value > s4() const
Get fourth component.
LorentzSpinorBar conjugate() const
Return the conjugated spinor .
The SpinHalfLorentzRotation class is designed to offer the same features as the HepLorentzRotation cl...
SpinorType _type
Type of spinor.
LorentzSpinorBar & transform(const LorentzRotation &r)
General Lorentz transformation.
complex< Value > _spin[4]
Storage of the components.
The LorentzSpinorBar class implements the storage of a barred LorentzSpinor.