9 #ifndef ThePEG_SpinorBarWaveFunction_H 10 #define ThePEG_SpinorBarWaveFunction_H 14 #include "WaveFunctionBase.h" 15 #include <ThePEG/Helicity/LorentzSpinorBar.h> 16 #include <ThePEG/Helicity/FermionSpinInfo.h> 17 #include <ThePEG/EventRecord/Particle.h> 18 #include <ThePEG/EventRecord/RhoDMatrix.h> 27 class SpinorWaveFunction;
73 complex<double>
s1,complex<double>
s2,
74 complex<double>
s3,complex<double>
s4)
103 for (
unsigned int i=0; i<4; ++i)
104 _wf[i]=wave[i]*UnitRemoval::InvSqrtE;
289 for (
unsigned int i=0; i<4; ++i)
290 temp(i) =
_wf(i)*UnitRemoval::SqrtE;
WaveFunctionBase()
Constructors.
SpinorBarWaveFunction()
Default constructor.
SpinorBarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, unsigned int ihel, Direction dir)
Constructor, set the momentum, helicity, direction.
complex< double > s1() const
Get the first spin component component.
void transform(const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.
void reset(unsigned int ihel)
Reset functions.
LorentzSpinorBar & transform(const SpinHalfLorentzRotation &)
General Lorentz transformation.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
complex< double > s2() const
Get the second spin component component.
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
complex< Value > s3() const
Get third component.
This is the main namespace within which all identifiers in ThePEG are declared.
const LorentzSpinorBar< double > & wave() const
Return wavefunction as LorentzSpinorBar<double>.
static void calculateWaveFunctions(vector< LorentzSpinorBar< SqrtEnergy > > &waves, tPPtr particle, Direction)
Calculate the wavefunctions.
An intermediate particle.
complex< double > s3() const
Get the third spin component component.
void conjugate()
Take the conjugate of the spinor .
complex< double > operator()(int i) const
Access to the wavefunction and its components.
complex< Value > s1() const
Get first component.
void calculateWaveFunction(unsigned int ihel)
Calcuate the wavefunction.
complex< Value > s2() const
Get second component.
SpinorType Type() const
Return the type of the spinor.
SpinorBarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, complex< double > s1, complex< double > s2, complex< double > s3, complex< double > s4)
Constructor, set the momentum and the components of the spinor.
complex< double > s4() const
Get the fourth spin component component.
SpinorBarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, const LorentzSpinorBar< double > &wave, Direction dir=intermediate)
Constructor, set the momentum and the wavefunction.
static void constructSpinInfo(const vector< LorentzSpinorBar< SqrtEnergy > > &waves, tPPtr part, Direction dir, bool time)
Construct the SpinInfo object.
PDT::Spin iSpin() const
Get 2s+1 for the particle.
complex< Value > s4() const
Get fourth component.
LorentzSpinorBar< SqrtEnergy > dimensionedWave() const
Return wavefunction as LorentzSpinorBar<SqrtEnergy>
LorentzSpinorBar< SqrtEnergy > dimensionedWf() const
Return wavefunction as LorentzSpinorBar<SqrtEnergy>
A Direction object can be used to specify that some following operations should be assumed to be perf...
SpinorBarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, Direction dir)
Constructor, set the momentum, direction, zero the wavefunction.
tcPDPtr particle() const
Get the particle pointer.
LorentzSpinorBar< double > _wf
Storage of the Lorentz SpinorBar wavefunction.
The RhoDMatrix class is designed to implement the storage of the rho and D matrices which are require...
SpinorWaveFunction bar()
Return the barred spinor.
SpinorBarWaveFunction(vector< SpinorBarWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool=true)
Special for spin correlations.
void transformMomentum(const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.