thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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. More...
 
typedef vector< ColinePtrVertex
 A vector of ColourLine. More...
 
typedef vector< VertexVertexVector
 A vector of vertices. More...
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 

Public Member Functions

void reset (string s)
 Reset this ColourLines object. More...
 
void connect (const tPVector &partons) const
 Create the corresponding ColourLines and connect the given partons. More...
 
Standard constructors and destructors.
 ColourLines ()
 Default constructor.
 
 ColourLines (string s)
 The standard constructor. More...
 
- 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. More...
 
virtual void debugme () const
 Print out debugging information for this object on std::cerr. More...
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 Return the reference count.
 

Private Attributes

LineVector theLines
 The vector of colour lines.
 

Additional Inherited Members

- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 The unique ID. More...
 
- 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

◆ 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()

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.

Referenced by ColourLines().

◆ 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.

Referenced by ColourLines().


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