thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
MatrixElement
ColourLines.h
1
// -*- C++ -*-
2
//
3
// ColourLines.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_ColourLines_H
10
#define ThePEG_ColourLines_H
11
// This is the declaration of the ColourLines class.
12
13
#include "
ThePEG/Config/ThePEG.h
"
14
15
namespace
ThePEG
{
16
23
class
ColourLines
:
public
Base
{
24
25
public
:
26
28
typedef
vector<pair<int,int> >
Line
;
30
typedef
vector<Line>
LineVector
;
32
typedef
vector<ColinePtr>
Vertex
;
34
typedef
vector<Vertex>
VertexVector
;
35
36
public
:
37
43
ColourLines
() {}
44
55
ColourLines
(
string
s);
57
67
void
reset
(
string
s);
68
69
public
:
70
76
void
connect
(
const
tPVector
& partons)
const
;
77
78
private
:
79
83
LineVector
theLines
;
84
85
};
86
87
}
88
89
#endif
/* ThePEG_ColourLines_H */
ThePEG.h
This is the main config header file for ThePEG.
ThePEG::ColourLines
The ColourLines class defines the colour flow in a SubProcess.
Definition:
ColourLines.h:23
ThePEG::ColourLines::connect
void connect(const tPVector &partons) const
Create the corresponding ColourLines and connect the given partons.
ThePEG::ColourLines::reset
void reset(string s)
Reset this ColourLines object.
ThePEG::ColourLines::Vertex
vector< ColinePtr > Vertex
A vector of ColourLine.
Definition:
ColourLines.h:32
ThePEG::ColourLines::LineVector
vector< Line > LineVector
A vector of colour lines.
Definition:
ColourLines.h:30
ThePEG::ColourLines::theLines
LineVector theLines
The vector of colour lines.
Definition:
ColourLines.h:83
ThePEG::ColourLines::ColourLines
ColourLines()
Default constructor.
Definition:
ColourLines.h:43
ThePEG::ColourLines::ColourLines
ColourLines(string s)
The standard constructor.
ThePEG::ColourLines::VertexVector
vector< Vertex > VertexVector
A vector of vertices.
Definition:
ColourLines.h:34
ThePEG::ColourLines::Line
vector< pair< int, int > > Line
A single colour line.
Definition:
ColourLines.h:28
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::tPVector
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
Definition:
Containers.h:82
ThePEG::Base
Define the base class from which all (polymorphic) classes in ThePEG are derived.
Definition:
ThePEG.h:54
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6