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

#include <SpinorBarWaveFunction.h>

Inheritance diagram for ThePEG::Helicity::SpinorBarWaveFunction:

## Public Member Functions

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

Standard constructors and destructors.
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. More...

SpinorBarWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, const LorentzSpinorBar< double > &wave, Direction dir=intermediate)
Constructor, set the momentum and the wavefunction. More...

SpinorBarWaveFunction (const tPPtr &p, const LorentzSpinorBar< SqrtEnergy > &wave, Direction dir=intermediate)

SpinorBarWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, unsigned int ihel, Direction dir)
Constructor, set the momentum, helicity, direction. More...

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

SpinorBarWaveFunction ()
Default constructor.

SpinorBarWaveFunction (vector< SpinorBarWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool=true)
Special for spin correlations.

complex< double > operator() (int i) const

const LorentzSpinorBar< double > & wave () const
Return wavefunction as LorentzSpinorBar<double>.

LorentzSpinorBar< SqrtEnergydimensionedWave () const
Return wavefunction as LorentzSpinorBar<SqrtEnergy>

complex< double > s1 () const
Get the first spin component component.

complex< double > s2 () const
Get the second spin component component.

complex< double > s3 () const
Get the third spin component component.

complex< double > s4 () const
Get the fourth spin component component.

void conjugate ()
Take the conjugate of the spinor . More...

SpinorWaveFunction bar ()
Return the barred spinor.

void reset (unsigned int ihel)
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< LorentzSpinorBar< SqrtEnergy > > &waves, tPPtr particle, Direction)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< SpinorBarWaveFunction > &waves, tPPtr particle, Direction)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< LorentzSpinorBar< SqrtEnergy > > &waves, RhoDMatrix &rho, tPPtr particle, Direction)
Calculate the wavefunctions.

static void calculateWaveFunctions (vector< SpinorBarWaveFunction > &waves, RhoDMatrix &rho, tPPtr particle, Direction)
Calculate the wavefunctions.

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

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

## Private Member Functions

void calculateWaveFunction (unsigned int ihel)
Calcuate the wavefunction. More...

LorentzSpinorBar< SqrtEnergydimensionedWf () const
Return wavefunction as LorentzSpinorBar<SqrtEnergy>

## Private Attributes

LorentzSpinorBar< double > _wf
Storage of the Lorentz SpinorBar wavefunction.

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

## Detailed Description

The SpinorBarWaveFunction class is designed to store the wavefunction of a barred spinor 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 spinor using the LorentzSpinorBar class it inherits from the WaveFunctionBase class to provide storage of the momentum and ParticleData for the fermion.

This class also contains the code which does the actually calculation of the barred spinor for an external particle.

When calculating the wavefunction the direction of the particle is used,

i.e.

• incoming calculates a spinor.
• outgoing calculates a spinor.

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

WaveFunctionBase
LorentzSpinorBar
HelicityDefinitions

Definition at line 57 of file SpinorBarWaveFunction.h.

## ◆ SpinorBarWaveFunction() [1/4]

 ThePEG::Helicity::SpinorBarWaveFunction::SpinorBarWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, complex< double > s1, complex< double > s2, complex< double > s3, complex< double > s4 )
inline

Constructor, set the momentum and the components of the spinor.

Parameters
 p The momentum. part The ParticleData pointer. s1 The first component s2 The second component s3 The third component s4 The fourth component

Definition at line 72 of file SpinorBarWaveFunction.h.

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

## ◆ SpinorBarWaveFunction() [2/4]

 ThePEG::Helicity::SpinorBarWaveFunction::SpinorBarWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, const LorentzSpinorBar< double > & wave, Direction dir = intermediate )
inline

Constructor, set the momentum and the wavefunction.

Parameters
 p The momentum. part The ParticleData pointer. wave The wavefunction. dir The direction of the particle

Definition at line 88 of file SpinorBarWaveFunction.h.

## ◆ SpinorBarWaveFunction() [3/4]

 ThePEG::Helicity::SpinorBarWaveFunction::SpinorBarWaveFunction ( const Lorentz5Momentum & p, tcPDPtr part, unsigned int ihel, Direction dir )
inline

Constructor, set the momentum, helicity, direction.

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

Definition at line 114 of file SpinorBarWaveFunction.h.

## ◆ SpinorBarWaveFunction() [4/4]

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

Constructor, set the momentum, direction, zero the wavefunction.

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

Definition at line 129 of file SpinorBarWaveFunction.h.

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

## ◆ calculateWaveFunction()

 void ThePEG::Helicity::SpinorBarWaveFunction::calculateWaveFunction ( unsigned int ihel )
private

Calcuate the wavefunction.

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

Referenced by reset(), and SpinorBarWaveFunction().

## ◆ conjugate()

 void ThePEG::Helicity::SpinorBarWaveFunction::conjugate ( )

Take the conjugate of the spinor .

This operation transforms u-spinors to v-spinors and vice-versa and is required when dealing with majorana particles.

Referenced by s4().

## ◆ operator()()

 complex ThePEG::Helicity::SpinorBarWaveFunction::operator() ( int i ) const
inline

Subscript operator for the wavefunction.

Definition at line 160 of file SpinorBarWaveFunction.h.

References _wf.

## ◆ reset()

 void ThePEG::Helicity::SpinorBarWaveFunction::reset ( unsigned int ihel )
inline

Reset functions.

Reset the helicity (calculates the new spinor).

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

Definition at line 215 of file SpinorBarWaveFunction.h.

References calculateWaveFunction().

The documentation for this class was generated from the following file: