ThePEG
2.2.1
|
#include <WaveFunctionBase.h>
Public Member Functions | |
WaveFunctionBase () | |
Constructors. More... | |
WaveFunctionBase (const Lorentz5Momentum &p, tcPDPtr pd, Direction dir=intermediate) | |
Energy | px () const |
Access to the momentum components and mass. More... | |
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 Lorentz5Momentum & | momentum () const |
Access to the 5-momentum. | |
long | id () const |
Access to the particle properties. More... | |
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. | |
Protected Member Functions | |
void | transformMomentum (const LorentzRotation &r) |
Perform the Lorentz transformation of the wave function. | |
Private Attributes | |
tcPDPtr | _particle |
Constant pointer to the particle info. | |
Lorentz5Momentum | _momentum |
Lorentz 5 momentum. | |
Direction | _dir |
Incoming or outgoing. | |
This class is the base class for all wavefunctions for use in helicity amplitude calculations. The general approach is to use a similar philosophy to the FORTRAN HELAS code but with additional structure.
This class contains the storage of the particle type and 5-momentum and methods to set/access this information.
The methods for the wavefunction itself will be implemented in the classes derived from this one for the specific spin type, for example scalar, spinor, vector and tensor.
Definition at line 58 of file WaveFunctionBase.h.
|
inline |
Constructors.
Default constructor
Definition at line 67 of file WaveFunctionBase.h.
References _dir, _momentum, _particle, ThePEG::Helicity::intermediate, and ThePEG::Helicity::outgoing.
Referenced by ThePEG::Helicity::SpinorBarWaveFunction::SpinorBarWaveFunction().
|
inline |
Access to the particle properties.
Get the particle id.
Definition at line 134 of file WaveFunctionBase.h.
References _particle.
|
inline |
Access to the momentum components and mass.
Get the x component of the momentum.
Definition at line 94 of file WaveFunctionBase.h.
References _momentum, and ThePEG::Lorentz5Vector< Value >::x().