thepeg is hosted by Hepforge, IPPP Durham
 ThePEG  2.1.5
ThePEG::Helicity::VectorWaveFunction Class Reference

#include <VectorWaveFunction.h>

Inheritance diagram for ThePEG::Helicity::VectorWaveFunction:

## Public Member Functions

void transform (const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.

Standard constructors and destructors.
VectorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, const LorentzPolarizationVector &wave, Direction dir=intermediate)
Constructor, set the momentum and Wavefunction, the direction can also be specified. More...

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. More...

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. More...

VectorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, Direction dir)
Constructor, set the 5-momentum and direction, zero the wavefunction. More...

VectorWaveFunction ()
Default constructor.

VectorWaveFunction (vector< VectorWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool massless, bool=true, VectorPhase phase=default_vector_phase)
Special for spin correlations. More...

const LorentzPolarizationVectorwave () const

Complex x () const
Get x component.

Complex y () const
Get y component.

Complex z () const
Get z component.

Complex t () const
Get t component.

void reset (unsigned int ihel, VectorPhase phase=default_vector_phase)
Reset functions. More...

Public Member Functions inherited from ThePEG::Helicity::WaveFunctionBase
WaveFunctionBase ()
Constructors. More...

WaveFunctionBase (const Lorentz5Momentum &p, tcPDPtr pd, Direction dir=intermediate)

Energy px () const

Energy py () const
Get the y component of the momentum.

Energy pz () const
Get the z component of the momentum.

Energy e () const
Get the energy.

Energy mass () const
Get the mass.

Energy2 m2 () const
Get off-shell mass squared.

const Lorentz5Momentummomentum () const

long id () const

PDT::Spin iSpin () const
Get 2s+1 for the particle.

tcPDPtr particle () const
Get the particle pointer.

ThePEG::Helicity::Direction direction () const
Get the direction of particle.

void direction (ThePEG::Helicity::Direction in)
Set the direction of the particle.

## Static Public Member Functions

static void calculateWaveFunctions (vector< LorentzPolarizationVector > &waves, tPPtr particle, Direction, bool massless, VectorPhase phase=default_vector_phase)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< VectorWaveFunction > &waves, tPPtr particle, Direction, bool massless, VectorPhase phase=default_vector_phase)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< LorentzPolarizationVector > &waves, RhoDMatrix &rho, tPPtr particle, Direction, bool massless, VectorPhase phase=default_vector_phase)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< VectorWaveFunction > &waves, RhoDMatrix &rho, tPPtr particle, Direction, bool massless, VectorPhase phase=default_vector_phase)
Calculate the wavefunctions.

static void constructSpinInfo (const vector< LorentzPolarizationVector > &waves, tPPtr part, Direction dir, bool time, bool massless)
Construct the SpinInfo object.

static void constructSpinInfo (const vector< VectorWaveFunction > &waves, tPPtr part, Direction dir, bool time, bool massless)
Construct the SpinInfo object.

## Private Member Functions

void calculateWaveFunction (unsigned int ihel, VectorPhase phase=default_vector_phase)
Calculate the wavefunction. More...

## Private Attributes

LorentzPolarizationVector _wf
Storage of the wavefunction as a Lorentz Vector.

Protected Member Functions inherited from ThePEG::Helicity::WaveFunctionBase
void transformMomentum (const LorentzRotation &r)
Perform the Lorentz transformation of the wave function.

## Detailed Description

The VectorWaveFunction class is designed to store the wavefunction of a vector in a form suitable for use in helicity amplitude calculations of the matrix element using a similar philosophy to the FORTRAN HELAS code.

In addition to storing the vector using the LorentzPolarizationVector class it inherits from the WaveFunctionBase class to provide storage of the momentum and ParticleData for the vector boson.

This class also contains the code which does the actually calculation of the vector wavefunction.

There are two choices available for the calculation of the wavefunction. These are set using the VectorPhase enumeration which specifies a default choice. The first choice, vector_phase, includes a phase factor for the helicity states while the second, vector_nophase, does not.

N.B. In our convention 0 is the helicity state and 1 is the helicity state 2 is the helicity state

WaveFunctionBase
LorentzPolarizationVector

Definition at line 60 of file VectorWaveFunction.h.

## ◆ VectorWaveFunction() [1/5]

 ThePEG::Helicity::VectorWaveFunction::VectorWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, const LorentzPolarizationVector & wave, Direction dir = intermediate )
inline

Constructor, set the momentum and Wavefunction, the direction can also be specified.

Parameters
 p The momentum. part The ParticleData pointer wave The wavefunction, i.e. the polarization vector. dir The direction of the particle.

Definition at line 74 of file VectorWaveFunction.h.

References ThePEG::Helicity::WaveFunctionBase::iSpin().

## ◆ VectorWaveFunction() [2/5]

 ThePEG::Helicity::VectorWaveFunction::VectorWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, const Complex & x, const Complex & y, const Complex & z, const Complex & t )
inline

Constructor, set the momentum and components of the wavefunction.

Parameters
 p The momentum. part The ParticleData pointer x The x component of the polarization vector y The y component of the polarization vector z The z component of the polarization vector t The t component of the polarization vector

Definition at line 91 of file VectorWaveFunction.h.

References ThePEG::Helicity::WaveFunctionBase::iSpin().

## ◆ VectorWaveFunction() [3/5]

 ThePEG::Helicity::VectorWaveFunction::VectorWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, unsigned int ihel, Direction dir, VectorPhase phase = default_vector_phase )
inline

Constructor, set the momentum, helicity and direction, optionally the choice of the phase.

Parameters
 p The momentum. part The ParticleData pointer. ihel The helicity (0,1,2 as described above.) dir The direction. phase The phase choice.

Definition at line 107 of file VectorWaveFunction.h.

## ◆ VectorWaveFunction() [4/5]

 ThePEG::Helicity::VectorWaveFunction::VectorWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, Direction dir )
inline

Constructor, set the 5-momentum and direction, zero the wavefunction.

Parameters
 p The 5-momentum. part The ParticleData pointer. dir The direction.

Definition at line 122 of file VectorWaveFunction.h.

References ThePEG::Helicity::WaveFunctionBase::iSpin().

## ◆ VectorWaveFunction() [5/5]

 ThePEG::Helicity::VectorWaveFunction::VectorWaveFunction ( vector< VectorWaveFunction > & wave, tPPtr part, Direction dir, bool time, bool massless, bool = true, VectorPhase phase = default_vector_phase )
inline

Special for spin correlations.

Todo:
make static?

Definition at line 137 of file VectorWaveFunction.h.

References calculateWaveFunctions(), and constructSpinInfo().

## ◆ calculateWaveFunction()

 void ThePEG::Helicity::VectorWaveFunction::calculateWaveFunction ( unsigned int ihel, VectorPhase phase = default_vector_phase )
private

Calculate the wavefunction.

Parameters
 ihel The helicity (0,1,2 as described above.) phase The phase choice.

Referenced by reset(), transform(), and VectorWaveFunction().

## ◆ reset()

 void ThePEG::Helicity::VectorWaveFunction::reset ( unsigned int ihel, VectorPhase phase = default_vector_phase )
inline

Reset functions.

Reset the helicity (recalculation the polarization vector).

Parameters
 ihel The new helicity (0,1,2 as described above.) phase The phase choice.

Definition at line 184 of file VectorWaveFunction.h.

References calculateWaveFunction().

## ◆ wave()

 const LorentzPolarizationVector& ThePEG::Helicity::VectorWaveFunction::wave ( ) const
inline