#include <WaveFunctionBase.h>
Public Member Functions | |
WaveFunctionBase () | |
Constructors. | |
WaveFunctionBase (const Lorentz5Momentum &p, tcPDPtr pd, Direction dir=intermediate) | |
Energy | px () const |
Access to the momentum components and mass. | |
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. | |
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 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.
ThePEG::Helicity::WaveFunctionBase::WaveFunctionBase | ( | ) | [inline] |
Energy ThePEG::Helicity::WaveFunctionBase::px | ( | ) | const [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().
long ThePEG::Helicity::WaveFunctionBase::id | ( | ) | const [inline] |
Access to the particle properties.
Get the particle id.
Definition at line 134 of file WaveFunctionBase.h.
References _particle.