thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::HelicityVertex Class Referenceabstract

The HelicityVertex class is designed to store the helicity amplitude expression for the matrix element for use by the spin correlation algorithm. More...

#include <HelicityVertex.h>

Inheritance diagram for ThePEG::HelicityVertex:

Public Types

typedef vector< tcSpinPtrSpinVector
 A vector of SpinInfo objects.
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 

Public Member Functions

virtual void rebind (const EventTranslationMap &trans)
 Rebind to cloned objects.
 
Access the incoming and outgoing particles.
const SpinVectorincoming () const
 Access the spin of the incoming particles.
 
const SpinVectoroutgoing () 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.
 
- Public Member Functions inherited from ThePEG::EventInfoBase
virtual void rebind (const EventTranslationMap &)
 Rebind to cloned objects.
 
virtual EIPtr clone () const
 Standard clone method.
 
- Public Member Functions inherited from ThePEG::Base
virtual ~Base ()
 The virtual destructor.
 
void debug () const
 Print out debugging information for this object on std::cerr.
 
virtual void debugme () const
 Print out debugging information for this object on std::cerr.
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 Return the reference count.
 

Static Public Member Functions

static void Init ()
 Standard Init function.
 
- Static Public Member Functions inherited from ThePEG::EventInfoBase
static void Init ()
 Standard Init function.
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 The standard Init function used to initialize the interfaces.
 

Friends

ostream & operator<< (ostream &os, const HelicityVertex &vert)
 Output the spin density matrix for debugging purposes.
 

Mthods to calculate rho and D matrices.

static AbstractNoPIOClassDescription< HelicityVertexinitHelicityVertex
 Describe an abstract base class without persistent data.
 
SpinVector _incoming
 Pointers to the incoming particle spins at the vertex.
 
SpinVector _outgoing
 Pointers to the outgoing particle spins at the vertex.
 
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.
 
HelicityVertexoperator= (const HelicityVertex &)=delete
 Private and non-existent assignment operator.
 

Additional Inherited Members

- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 The unique ID.
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted ()
 Default constructor.
 
 ReferenceCounted (const ReferenceCounted &)
 Copy-constructor.
 
ReferenceCountedoperator= (const ReferenceCounted &)
 Assignment.
 

Detailed Description

The HelicityVertex class is designed to store the helicity amplitude expression for the matrix element for use by the spin correlation algorithm.

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.

See also
SpinInfo
Author
Peter Richardson

Definition at line 41 of file HelicityVertex.h.

Member Typedef Documentation

◆ SpinVector

A vector of SpinInfo objects.

Definition at line 53 of file HelicityVertex.h.

Member Function Documentation

◆ addIncoming()

void ThePEG::HelicityVertex::addIncoming ( tcSpinPtr  spin,
int &  loc 
)
inline

Add the spin of an incoming particle.

Parameters
spinthe spin of the particle.
locis set to the position in the list of incoming spins.

Definition at line 89 of file HelicityVertex.h.

References _incoming.

◆ addOutgoing()

void ThePEG::HelicityVertex::addOutgoing ( tcSpinPtr  spin,
int &  loc 
)
inline

Add the spin of an outgoing particle.

Parameters
spinthe spin of the particle.
locis set to the position in the list of outgoing spins.

Definition at line 104 of file HelicityVertex.h.

References _outgoing.

◆ incoming()

const SpinVector & ThePEG::HelicityVertex::incoming ( ) const
inline

Access the spin of the incoming particles.

Definition at line 77 of file HelicityVertex.h.

References _incoming.

◆ outgoing()

const SpinVector & ThePEG::HelicityVertex::outgoing ( ) const
inline

Access the spin of the outgoing particles.

Definition at line 82 of file HelicityVertex.h.

References _outgoing.

◆ rebind()

virtual void ThePEG::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.

◆ resetIncoming()

void ThePEG::HelicityVertex::resetIncoming ( tcSpinPtr  spin,
int  loc 
)
inline

Reset the spin of the incoming particle at position loc.

Definition at line 117 of file HelicityVertex.h.

References _incoming.

◆ resetOutgoing()

void ThePEG::HelicityVertex::resetOutgoing ( tcSpinPtr  spin,
int  loc 
)
inline

Reset the spin of the outgoing particle at position loc.

Definition at line 125 of file HelicityVertex.h.

References _outgoing.

Friends And Related Function Documentation

◆ operator<<

ostream & operator<< ( ostream &  os,
const HelicityVertex vert 
)
friend

Output the spin density matrix for debugging purposes.

Definition at line 175 of file HelicityVertex.h.

Member Data Documentation

◆ _incoming

SpinVector ThePEG::HelicityVertex::_incoming
private

Pointers to the incoming particle spins at the vertex.

Definition at line 163 of file HelicityVertex.h.

Referenced by addIncoming(), incoming(), and resetIncoming().

◆ _outgoing

SpinVector ThePEG::HelicityVertex::_outgoing
private

Pointers to the outgoing particle spins at the vertex.

Definition at line 168 of file HelicityVertex.h.

Referenced by addOutgoing(), outgoing(), and resetOutgoing().

◆ initHelicityVertex

AbstractNoPIOClassDescription<HelicityVertex> ThePEG::HelicityVertex::initHelicityVertex
staticprivate

Describe an abstract base class without persistent data.

Definition at line 151 of file HelicityVertex.h.


The documentation for this class was generated from the following file: