#include <TensorWaveFunction.h>
Public Member Functions | |
void | transform (const LorentzRotation &r) |
Perform the Lorentz transformation of the wave function. | |
Standard constructors and destructors. | |
TensorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, const LorentzTensor< double > &wave, Direction dir=intermediate) | |
Constructor, set the momentum and Wavefunction, the direction can also be specified. | |
TensorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, Complex xx, Complex xy, Complex xz, Complex xt, Complex yx, Complex yy, Complex yz, Complex yt, Complex zx, Complex zy, Complex zz, Complex zt, Complex tx, Complex ty, Complex tz, Complex tt) | |
Constructor, set the momentum and the components of the tensor. | |
TensorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, unsigned int ihel, Direction dir, TensorPhase phase=default_tensor_phase) | |
Constructor, set the momentum, helicity, direction and optionally the phase. | |
TensorWaveFunction (const Lorentz5Momentum &p, tcPDPtr part, Direction dir) | |
Constructor, set the 5-momentum and direction, zero the wavefunction. | |
TensorWaveFunction () | |
Default constructor. | |
TensorWaveFunction (vector< TensorWaveFunction > &wave, tPPtr part, Direction dir, bool time, bool massless, bool=true, TensorPhase phase=default_tensor_phase) | |
Special for spin correlations. | |
Complex | operator() (int i, int j) const |
Access to the wavefunction and its components. | |
Complex & | operator() (int i, int j) |
Set components by index. | |
const LorentzTensor< double > & | wave () const |
Return wavefunction as polarization vector. | |
Complex | xx () const |
Get the component. | |
Complex | yx () const |
Get the component. | |
Complex | zx () const |
Get the component. | |
Complex | tx () const |
Get the component. | |
Complex | xy () const |
Get the component. | |
Complex | yy () const |
Get the component. | |
Complex | zy () const |
Get the component. | |
Complex | ty () const |
Get the component. | |
Complex | xz () const |
Get the component. | |
Complex | yz () const |
Get the component. | |
Complex | zz () const |
Get the component. | |
Complex | tz () const |
Get the component. | |
Complex | xt () const |
Get the component. | |
Complex | yt () const |
Get the component. | |
Complex | zt () const |
Get the component. | |
Complex | tt () const |
Get the component. | |
void | reset (unsigned int ihel, TensorPhase phase=default_tensor_phase) |
Reset functions. | |
Static Public Member Functions | |
static void | calculateWaveFunctions (vector< LorentzTensor< double > > &waves, tPPtr particle, Direction, bool massless, TensorPhase phase=default_tensor_phase) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< TensorWaveFunction > &waves, tPPtr particle, Direction, bool massless, TensorPhase phase=default_tensor_phase) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< LorentzTensor< double > > &waves, RhoDMatrix &rho, tPPtr particle, Direction, bool massless, TensorPhase phase=default_tensor_phase) |
Calculate the wavefunctions. | |
static void | calculateWaveFunctions (vector< TensorWaveFunction > &waves, RhoDMatrix &rho, tPPtr particle, Direction, bool massless, TensorPhase phase=default_tensor_phase) |
Calculate the wavefunctions. | |
static void | constructSpinInfo (const vector< LorentzTensor< double > > &waves, tPPtr part, Direction dir, bool time, bool massless) |
Construct the SpinInfo object. | |
static void | constructSpinInfo (const vector< TensorWaveFunction > &waves, tPPtr part, Direction dir, bool time, bool massless) |
Construct the SpinInfo object. | |
Private Member Functions | |
void | calculateWaveFunction (unsigned int ihel, TensorPhase phase=default_tensor_phase) |
Calculate the wavefunction. | |
Private Attributes | |
LorentzTensor< double > | _wf |
Storage of the wavefunction as a Lorentz Tensor. |
In addition to storing the tensor using the LorentzTensor class it inherits from the WaveFunctionBase class to provide storage of the momentum and ParticleData for the tensor particle.
This class also contains the code which does the actually calculation of the tensor wavefunction.
There are two choices available for the calculation of the wavefunction. These are set using the TensorPhase enumeration which specifies a default choice. The first choice, tensor_phase, includes a phase factor for the helicity states while the second, tensor_nophase, does not.
N.B. In our convention 0 is the helicity state, 1 is the helicity state, 2 is the helicity state, 3 is the helicity state and 4 is the helicity state.
Definition at line 67 of file TensorWaveFunction.h.
ThePEG::Helicity::TensorWaveFunction::TensorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
const LorentzTensor< double > & | wave, | |||
Direction | dir = intermediate | |||
) | [inline] |
Constructor, set the momentum and Wavefunction, the direction can also be specified.
p | The momentum. | |
part | The ParticleData pointer | |
wave | The wavefunction, i.e. the polarization vector. | |
dir | The direction of the particle. |
Definition at line 81 of file TensorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin(), and ThePEG::PDT::Spin2.
ThePEG::Helicity::TensorWaveFunction::TensorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
Complex | xx, | |||
Complex | xy, | |||
Complex | xz, | |||
Complex | xt, | |||
Complex | yx, | |||
Complex | yy, | |||
Complex | yz, | |||
Complex | yt, | |||
Complex | zx, | |||
Complex | zy, | |||
Complex | zz, | |||
Complex | zt, | |||
Complex | tx, | |||
Complex | ty, | |||
Complex | tz, | |||
Complex | tt | |||
) | [inline] |
Constructor, set the momentum and the components of the tensor.
p | The momentum. | |
part | The ParticleData pointer | |
xx | The component. | |
xy | The component. | |
xz | The component. | |
xt | The component. | |
yx | The component. | |
yy | The component. | |
yz | The component. | |
yt | The component. | |
zx | The component. | |
zy | The component. | |
zz | The component. | |
zt | The component. | |
tx | The component. | |
ty | The component. | |
tz | The component. | |
tt | The component. |
Definition at line 110 of file TensorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin(), and ThePEG::PDT::Spin2.
ThePEG::Helicity::TensorWaveFunction::TensorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
unsigned int | ihel, | |||
Direction | dir, | |||
TensorPhase | phase = default_tensor_phase | |||
) | [inline] |
Constructor, set the momentum, helicity, direction and optionally the phase.
p | The momentum. | |
part | The ParticleData pointer | |
ihel | The helicity (0,1,2,3,4 as described above.) | |
dir | The direction. | |
phase | The phase choice. |
Definition at line 131 of file TensorWaveFunction.h.
References calculateWaveFunction(), ThePEG::Helicity::WaveFunctionBase::iSpin(), and ThePEG::PDT::Spin2.
ThePEG::Helicity::TensorWaveFunction::TensorWaveFunction | ( | const Lorentz5Momentum & | p, | |
tcPDPtr | part, | |||
Direction | dir | |||
) | [inline] |
Constructor, set the 5-momentum and direction, zero the wavefunction.
p | The momentum. | |
part | The ParticleData pointer. | |
dir | The direction. |
Definition at line 146 of file TensorWaveFunction.h.
References ThePEG::Helicity::WaveFunctionBase::iSpin(), and ThePEG::PDT::Spin2.
ThePEG::Helicity::TensorWaveFunction::TensorWaveFunction | ( | vector< TensorWaveFunction > & | wave, | |
tPPtr | part, | |||
Direction | dir, | |||
bool | time, | |||
bool | massless, | |||
bool | = true , |
|||
TensorPhase | phase = default_tensor_phase | |||
) | [inline] |
Special for spin correlations.
Definition at line 161 of file TensorWaveFunction.h.
References calculateWaveFunctions(), and constructSpinInfo().
Complex ThePEG::Helicity::TensorWaveFunction::operator() | ( | int | i, | |
int | j | |||
) | const [inline] |
Access to the wavefunction and its components.
Subscript operator for the wavefunction.
Definition at line 177 of file TensorWaveFunction.h.
References _wf.
void ThePEG::Helicity::TensorWaveFunction::reset | ( | unsigned int | ihel, | |
TensorPhase | phase = default_tensor_phase | |||
) | [inline] |
Reset functions.
Reset helicity (recalculate the tensor ).
ihel | The new helicity (0,1,2,3,4 as described above.) | |
phase | The phase choice. |
Definition at line 284 of file TensorWaveFunction.h.
References calculateWaveFunction().
void ThePEG::Helicity::TensorWaveFunction::calculateWaveFunction | ( | unsigned int | ihel, | |
TensorPhase | phase = default_tensor_phase | |||
) | [private] |
Calculate the wavefunction.
ihel | The helicity (0,1,2,3,4 as described above.) | |
phase | The phase choice. |
Referenced by reset(), and TensorWaveFunction().