ThePEG 2.3.0
|
The ColourLines class defines the colour flow in a SubProcess. More...
#include <ColourLines.h>
Public Types | |
typedef vector< pair< int, int > > | Line |
A single colour line. | |
typedef vector< Line > | LineVector |
A vector of colour lines. | |
typedef vector< ColinePtr > | Vertex |
A vector of ColourLine . | |
typedef vector< Vertex > | VertexVector |
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 ColourLine s 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. | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. | |
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.
typedef vector<pair<int,int> > ThePEG::ColourLines::Line |
A single colour line.
Definition at line 28 of file ColourLines.h.
typedef vector<Line> ThePEG::ColourLines::LineVector |
A vector of colour lines.
Definition at line 30 of file ColourLines.h.
typedef vector<ColinePtr> ThePEG::ColourLines::Vertex |
A vector of ColourLine
.
Definition at line 32 of file ColourLines.h.
typedef vector<Vertex> ThePEG::ColourLines::VertexVector |
A vector of vertices.
Definition at line 34 of file ColourLines.h.
|
inline |
Default constructor.
Definition at line 43 of file ColourLines.h.
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.
void ThePEG::ColourLines::connect | ( | const tPVector & | partons | ) | const |
Create the corresponding ColourLine
s and connect the given partons.
The partons are assumed to be in the same order as the numbers specified in the constructor.
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.
|
private |
The vector of colour lines.
Definition at line 83 of file ColourLines.h.