ThePEG::ColourLines Class Reference

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

#include <ColourLines.h>

Inheritance diagram for ThePEG::ColourLines:

ThePEG::Base ThePEG::Pointer::ReferenceCounted

List of all members.

Public Types

typedef vector< 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 Member Functions

void connect (const tPVector &partons) const
 Create the corresponding ColourLines and connect the given partons.
Standard constructors and destructors.
 ColourLines ()
 Default constructor.
 ColourLines (string s)
 The standard constructor.

Private Attributes

LineVector theLines
 The vector of colour lines.


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

A vector of colour lines.

Definition at line 30 of file ColourLines.h.

A vector of ColourLine.

Definition at line 32 of file ColourLines.h.

A vector of vertices.

Definition at line 34 of file ColourLines.h.


Constructor & Destructor Documentation

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 incoming is 1, the second is 2 and the internal and outgoing are numbered 3 and upwards.


Member Function Documentation

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.


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

Generated on Thu Apr 29 12:43:10 2010 for ThePEG by  doxygen 1.5.5