9 #ifndef ThePEG_VectorWaveFunction_H 10 #define ThePEG_VectorWaveFunction_H 14 #include "WaveFunctionBase.h" 15 #include <ThePEG/Helicity/LorentzPolarizationVector.h> 16 #include <ThePEG/Helicity/VectorSpinInfo.h> 17 #include <ThePEG/EventRecord/RhoDMatrix.h> 18 #include <ThePEG/EventRecord/Particle.h> PDT::Spin iSpin() const
Get 2s+1 for the particle.
void reset(unsigned int ihel, VectorPhase phase=default_vector_phase)
Reset functions.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
void transform(const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.
static void constructSpinInfo(const vector< LorentzPolarizationVector > &waves, tPPtr part, Direction dir, bool time, bool massless)
Construct the SpinInfo object.
Complex z() const
Get z component.
static void calculateWaveFunctions(vector< LorentzPolarizationVector > &waves, tPPtr particle, Direction, bool massless, VectorPhase phase=default_vector_phase)
Calculate the wavefunctions.
Complex y() const
Get y component.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
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...
VectorWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, const Complex &x, const Complex &y, const Complex &z, const Complex &t)
Constructor, set the momentum and components of the wavefunction.
This is the main namespace within which all identifiers in ThePEG are declared.
const LorentzPolarizationVector & wave() const
Access to the wavefunction and its components.
An intermediate particle.
Include the phase factor.
Complex t() const
Get t component.
VectorWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, unsigned int ihel, Direction dir, VectorPhase phase=default_vector_phase)
Constructor, set the momentum, helicity and direction, optionally the choice of the phase...
void calculateWaveFunction(unsigned int ihel, VectorPhase phase=default_vector_phase)
Calculate the wavefunction.
VectorPhase
Definition of the enumerated values of the phase to include in the calculation of the polarization ve...
Complex x() const
Get x component.
tcPDPtr particle() const
Get the particle pointer.
VectorWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, Direction dir)
Constructor, set the 5-momentum and direction, zero the wavefunction.
LorentzPolarizationVector _wf
Storage of the wavefunction as a Lorentz Vector.
VectorWaveFunction(vector< VectorWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool massless, bool=true, VectorPhase phase=default_vector_phase)
Special for spin correlations.
A Direction object can be used to specify that some following operations should be assumed to be perf...
VectorWaveFunction()
Default constructor.
The RhoDMatrix class is designed to implement the storage of the rho and D matrices which are require...
VectorWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, const LorentzPolarizationVector &wave, Direction dir=intermediate)
Constructor, set the momentum and Wavefunction, the direction can also be specified.
LorentzVector< Value > & transform(const SpinOneLorentzRotation &m)
Rotate the vector. Resets .
void transformMomentum(const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.