9 #ifndef ThePEG_ScalarWaveFunction_H 10 #define ThePEG_ScalarWaveFunction_H 14 #include "WaveFunctionBase.h" 15 #include <ThePEG/Helicity/ScalarSpinInfo.h> 16 #include <ThePEG/EventRecord/Particle.h> 17 #include <ThePEG/EventRecord/RhoDMatrix.h> 69 static void calculateWaveFunctions(
RhoDMatrix & rho,
75 tScalarSpinPtr inspin;
76 if(part->spinInfo()) inspin=dynamic_ptr_cast<tScalarSpinPtr>(part->spinInfo());
78 assert(!part->spinInfo());
95 constructSpinInfo(p,dir,time);
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits<Ptr>::create()
const Complex & wave() const
Return the wavefunction.
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
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...
ScalarWaveFunction()
Default constructor.
This is the main namespace within which all identifiers in ThePEG are declared.
An intermediate particle.
ScalarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, Direction dir)
Constructor,set the 5-momentum and zero the wavefunction.
PDT::Spin iSpin() const
Get 2s+1 for the particle.
ScalarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, Complex wave, Direction dir=intermediate)
Constructor, set the momentum, direction and Wavefunction.
const Lorentz5Momentum & momentum() const
Access to the 5-momentum.
A Direction object can be used to specify that some following operations should be assumed to be perf...
ScalarWaveFunction(tPPtr p, Direction dir, bool time)
Special for spin correlations.
The ScalarSpinInfo class is designed to be the implementation of the spin information for a scalar pa...
The RhoDMatrix class is designed to implement the storage of the rho and D matrices which are require...
Complex _wf
Complex number to store the wavefunction.
void transformMomentum(const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.