thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::ColourLines Class Reference

The ColourLines class defines the colour flow in a SubProcess. More...

#include <ColourLines.h>

Inheritance diagram for ThePEG::ColourLines:

Public Types

typedef vector< pair< int, int > > Line
 A single colour line.
 
typedef vector< LineLineVector
 A vector of colour lines.
 
typedef vector< ColinePtrVertex
 A vector of ColourLine.
 
typedef vector< VertexVertexVector
 A vector of vertices.
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 

Standard constructors and destructors.

LineVector theLines
 The vector of colour lines.
 
 ColourLines ()
 Default constructor.
 
 ColourLines (string s)
 The standard constructor.
 
void reset (string s)
 Reset this ColourLines object.
 
void connect (const tPVector &partons) const
 Create the corresponding ColourLines and connect the given partons.
 

Additional Inherited Members

- 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 inherited from ThePEG::Base
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- 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 ColourLines class defines the colour flow in a SubProcess.

It defines a number of colour lines and specifies which particles are connected to them.

Definition at line 23 of file ColourLines.h.

Member Typedef Documentation

◆ Line

typedef vector<pair<int,int> > ThePEG::ColourLines::Line

A single colour line.

Definition at line 28 of file ColourLines.h.

◆ LineVector

A vector of colour lines.

Definition at line 30 of file ColourLines.h.

◆ Vertex

A vector of ColourLine.

Definition at line 32 of file ColourLines.h.

◆ VertexVector

A vector of vertices.

Definition at line 34 of file ColourLines.h.

Constructor & Destructor Documentation

◆ ColourLines() [1/2]

ThePEG::ColourLines::ColourLines ( )
inline

Default constructor.

Definition at line 43 of file ColourLines.h.

◆ ColourLines() [2/2]

ThePEG::ColourLines::ColourLines ( string  s)

The standard constructor.

The string s should contain a comma-separated sequence of integers. Each sequence of numbers indicates a colour line and the integer represents a parton connected to it. If the integer is negative, it means that the line is the corresponding partons anti-colour. Note that the partons are numbered from 1: The first spacelike particle is 1, the second is 2 and the internal time-like and outgoing are numbered after all the spacelike particles.

Member Function Documentation

◆ connect()

void ThePEG::ColourLines::connect ( const tPVector partons) const

Create the corresponding ColourLines and connect the given partons.

The partons are assumed to be in the same order as the numbers specified in the constructor.

◆ reset()

void ThePEG::ColourLines::reset ( string  s)

Reset this ColourLines object.

The string s should contain a comma-separated sequence of integers. Each sequence of numbers indicates a colour line and the integer represents a parton connected to it. If the integer is negative, it means that the line is the corresponding partons anti-colour. Note that the partons are numbered from 1: The first incoming is 1, the second is 2 and the internal and outgoing are numbered 3 and upwards.

Member Data Documentation

◆ theLines

LineVector ThePEG::ColourLines::theLines
private

The vector of colour lines.

Definition at line 83 of file ColourLines.h.


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