00001 // -*- C++ -*- 00002 // 00003 // ColourLines.h is a part of ThePEG - Toolkit for HEP Event Generation 00004 // Copyright (C) 1999-2007 Leif Lonnblad 00005 // 00006 // ThePEG is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 #ifndef ThePEG_ColourLines_H 00010 #define ThePEG_ColourLines_H 00011 // This is the declaration of the ColourLines class. 00012 00013 #include "ThePEG/Config/ThePEG.h" 00014 00015 namespace ThePEG { 00016 00023 class ColourLines: public Base { 00024 00025 public: 00026 00028 typedef vector<int> Line; 00030 typedef vector<Line> LineVector; 00032 typedef vector<ColinePtr> Vertex; 00034 typedef vector<Vertex> VertexVector; 00035 00036 public: 00037 00043 ColourLines() {} 00044 00054 ColourLines(string s); 00056 00057 public: 00058 00064 void connect(const tPVector & partons) const; 00065 00066 private: 00067 00071 LineVector theLines; 00072 00073 }; 00074 00075 } 00076 00077 #endif /* ThePEG_ColourLines_H */