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());
79 ScalarSpinPtr temp =
new_ptr(ScalarSpinInfo(part->momentum(),time));
95 constructSpinInfo(p,dir,time);
PDT::Spin iSpin() const
Get 2s+1 for the particle.
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits
::create()
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.
const Lorentz5Momentum & momentum() const
Access to the 5-momentum.
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.
ScalarWaveFunction(const Lorentz5Momentum &p, tcPDPtr part, Complex wave, Direction dir=intermediate)
Constructor, set the momentum, direction and Wavefunction.
A Direction object can be used to specify that some following operations should be assumed to be perf...
const Complex & wave() const
Return the wavefunction.
ScalarWaveFunction(tPPtr p, Direction dir, bool time)
Special for spin correlations.
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.