ThePEG  1.8.0
ColourLines.h
1 // -*- C++ -*-
2 //
3 // ColourLines.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 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 
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 
84 
85 };
86 
87 }
88 
89 #endif /* ThePEG_ColourLines_H */