#include <HelicityVertex.h>
Public Types | |
typedef vector< tcSpinPtr > | SpinVector |
A vector of SpinInfo objects. | |
Public Member Functions | |
virtual void | rebind (const EventTranslationMap &trans) |
Rebind to cloned objects. | |
Access the incoming and outgoing particles. | |
const SpinVector & | incoming () const |
Access the spin of the incoming particles. | |
const SpinVector & | outgoing () const |
Access the spin of the outgoing particles. | |
void | addIncoming (tcSpinPtr spin, int &loc) |
Add the spin of an incoming particle. | |
void | addOutgoing (tcSpinPtr spin, int &loc) |
Add the spin of an outgoing particle. | |
void | resetIncoming (tcSpinPtr spin, int loc) |
Reset the spin of the incoming particle at position loc. | |
void | resetOutgoing (tcSpinPtr spin, int loc) |
Reset the spin of the outgoing particle at position loc. | |
Mthods to calculate rho and D matrices. | |
virtual RhoDMatrix | getRhoMatrix (int loc, bool recursive) const =0 |
Get the rho matrix for the outgoing particle at position loc. | |
virtual RhoDMatrix | getDMatrix (int loc) const =0 |
Get the D matrix for the incoming particle at position loc. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function. | |
Private Member Functions | |
HelicityVertex & | operator= (const HelicityVertex &) |
Private and non-existent assignment operator. | |
Private Attributes | |
SpinVector | _incoming |
Pointers to the incoming particle spins at the vertex. | |
SpinVector | _outgoing |
Pointers to the outgoing particle spins at the vertex. | |
Static Private Attributes | |
static AbstractNoPIOClassDescription < HelicityVertex > | initHelicityVertex |
Describe an abstract base class without persistent data. | |
Friends | |
ostream & | operator<< (ostream &os, const HelicityVertex &vert) |
Output the spin density matrix for debugging purposes. |
It implements the storage of the pointers to the incoming and outgoing particles at the vertex and virtual methods for calculating the rho and D matrices. The concrete implementations of the vertices for specific processes, eg production or decay, inherit from this and implement the storage of the matrix element together with the set and get methods.
These methods are then called by the SpinInfo class to perform the calculations.
Definition at line 46 of file HelicityVertex.h.
typedef vector<tcSpinPtr> ThePEG::Helicity::HelicityVertex::SpinVector |
virtual void ThePEG::Helicity::HelicityVertex::rebind | ( | const EventTranslationMap & | trans | ) | [virtual] |
Rebind to cloned objects.
If a HelicityVertex is cloned together with a whole Event and this has pointers to other event record objects, these should be rebound to their clones in this function.
Reimplemented from ThePEG::EventInfoBase.
void ThePEG::Helicity::HelicityVertex::addIncoming | ( | tcSpinPtr | spin, | |
int & | loc | |||
) | [inline] |
Add the spin of an incoming particle.
spin | the spin of the particle. | |
loc | is set to the position in the list of incoming spins. |
Definition at line 94 of file HelicityVertex.h.
References _incoming.
void ThePEG::Helicity::HelicityVertex::addOutgoing | ( | tcSpinPtr | spin, | |
int & | loc | |||
) | [inline] |
Add the spin of an outgoing particle.
spin | the spin of the particle. | |
loc | is set to the position in the list of outgoing spins. |
Definition at line 104 of file HelicityVertex.h.
References _outgoing.
virtual RhoDMatrix ThePEG::Helicity::HelicityVertex::getRhoMatrix | ( | int | loc, | |
bool | recursive | |||
) | const [pure virtual] |
Get the rho matrix for the outgoing particle at position loc.
recursive | Recursively calculate up the tree |