#include <SpinorWaveFunction.h>
Public Member Functions | |
void | conjugate () |
Take the conjugate of the spinor . | |
SpinorBarWaveFunction | bar () |
Return the barred spinor. | |
void | transform (const LorentzRotation &r) |
Perform the Lorentz transformation of the wave function. | |
Standard constructors and destructors. | |
SpinorWaveFunction (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. | |
SpinorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, const LorentzSpinor< double > &wave, Direction dir=intermediate) | |
Constructor, set the momentum and the wavefunction. | |
SpinorWaveFunction (const tPPtr &p, const LorentzSpinor< SqrtEnergy > &wave, Direction dir=intermediate) | |
Constructor, set the momentum and the wavefunction. | |
SpinorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, unsigned int ihel, Direction dir) | |
Constructor, set the momentum, helicity, direction. | |
SpinorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, Direction dir) | |
Constructor, set the momentum, direction, zero the wavefunction. | |
SpinorWaveFunction () | |
Default constructor. | |
SpinorWaveFunction (vector< SpinorWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool=true) | |
Special for spin correlations. | |
complex< double > | operator() (int i) const |
Access to the wavefunction and its components. | |
const LorentzSpinor< double > & | wave () const |
Return wavefunction as LorentzSpinor<double>. | |
LorentzSpinor< SqrtEnergy > | dimensionedWave () const |
Return wavefunction as LorentzSpinor<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 | reset (unsigned int ihel) |
Reset functions. | |
Static Public Member Functions | |
static void | calculateWaveFunctions (vector< LorentzSpinor< SqrtEnergy > > &waves, tPPtr particle, Direction) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< SpinorWaveFunction > &waves, tPPtr particle, Direction) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< LorentzSpinor< SqrtEnergy > > &waves, RhoDMatrix &rho, tPPtr particle, Direction) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< SpinorWaveFunction > &waves, RhoDMatrix &rho, tPPtr particle, Direction) |
Calculate the wavefunctions. | |
static void | constructSpinInfo (const vector< LorentzSpinor< SqrtEnergy > > &waves, tPPtr part, Direction dir, bool time) |
Construct the SpinInfo object. | |
static void | constructSpinInfo (const vector< SpinorWaveFunction > &waves, tPPtr part, Direction dir, bool time) |
Construct the SpinInfo object. | |
Private Member Functions | |
void | calculateWaveFunction (unsigned int ihel) |
Calcuate the wavefunction. | |
LorentzSpinor< SqrtEnergy > | dimensionedWf () const |
Return wavefunction as LorentzSpinor<SqrtEnergy>. | |
Private Attributes | |
LorentzSpinor< double > | _wf |
Storage of the Lorentz Spinor. |
In addition to storing the spinor using the LorentzSpinor class it inherits from the WaveFunctionBase class to provide storage of the momentum and getParticleData for the fermion.
This class also contains the code which does the actually calculation of the spinor for an external particle.
When calculating the wavefunction the direction of the particle is used,
i.e.
N.B. In our convention 0 is the helicity state and 1 is the helicity state
HelicityDefinitions
Definition at line 56 of file SpinorWaveFunction.h.
ThePEG::Helicity::SpinorWaveFunction::SpinorWaveFunction | ( | 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.
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 71 of file SpinorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin().
ThePEG::Helicity::SpinorWaveFunction::SpinorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
const LorentzSpinor< double > & | wave, | |||
Direction | dir = intermediate | |||
) | [inline] |
Constructor, set the momentum and the wavefunction.
p | The momentum. | |
part | The ParticleData pointer. | |
wave | The wavefunction. | |
dir | The direction of the particle |
Definition at line 85 of file SpinorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin().
ThePEG::Helicity::SpinorWaveFunction::SpinorWaveFunction | ( | const tPPtr & | p, | |
const LorentzSpinor< SqrtEnergy > & | wave, | |||
Direction | dir = intermediate | |||
) | [inline] |
Constructor, set the momentum and the wavefunction.
p | The particle | |
wave | The wavefunction. | |
dir | The direction of the particle |
Definition at line 99 of file SpinorWaveFunction.h.
References _wf, and ThePEG::Helicity::WaveFunctionBase::iSpin().
ThePEG::Helicity::SpinorWaveFunction::SpinorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
unsigned int | ihel, | |||
Direction | dir | |||
) | [inline] |
Constructor, set the momentum, helicity, direction.
p | The momentum. | |
part | The ParticleData pointer. | |
ihel | The helicity (0,1 as described above.) | |
dir | The direction. |
Definition at line 115 of file SpinorWaveFunction.h.
References calculateWaveFunction(), and ThePEG::Helicity::WaveFunctionBase::iSpin().
ThePEG::Helicity::SpinorWaveFunction::SpinorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
Direction | dir | |||
) | [inline] |
Constructor, set the momentum, direction, zero the wavefunction.
p | The momentum. | |
part | The ParticleData pointer. | |
dir | The direction. |
Definition at line 131 of file SpinorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin().
complex<double> ThePEG::Helicity::SpinorWaveFunction::operator() | ( | int | i | ) | const [inline] |
Access to the wavefunction and its components.
Subscript operator for the wavefunction.
Definition at line 162 of file SpinorWaveFunction.h.
References _wf.
void ThePEG::Helicity::SpinorWaveFunction::conjugate | ( | ) | [inline] |
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.
Definition at line 203 of file SpinorWaveFunction.h.
References _wf, and ThePEG::Helicity::LorentzSpinor< Value >::conjugate().
void ThePEG::Helicity::SpinorWaveFunction::reset | ( | unsigned int | ihel | ) | [inline] |
Reset functions.
Reset the helicity (calculates the new spinor).
ihel | The helicity (0,1 as described above.) |
Definition at line 220 of file SpinorWaveFunction.h.
References calculateWaveFunction().
void ThePEG::Helicity::SpinorWaveFunction::calculateWaveFunction | ( | unsigned int | ihel | ) | [private] |
Calcuate the wavefunction.
ihel | The helicity (0,1 as described above.) |
Referenced by reset(), and SpinorWaveFunction().