9 #ifndef ThePEG_ColourLine_H
10 #define ThePEG_ColourLine_H
14 #include "ThePEG/Utilities/ClassDescription.h"
15 #include "ThePEG/EventRecord/ColourSinglet.h"
177 l1->theSinkNeighbours.first = l2->theSinkNeighbours.first =
this;
188 l1->theSourceNeighbours.first = l2->theSourceNeighbours.first =
this;
207 template <
typename Iterator>
208 typename std::iterator_traits<Iterator>::value_type
210 typedef typename std::iterator_traits<Iterator>::value_type ParticlePointer;
211 for ( ; first != last; ++first )
212 if ( (**first).coloured() && (**first).hasColourLine(
this, anti) )
214 return ParticlePointer();
293 struct BaseClassTrait<ColourLine,1>:
public ClassTraitsType {
303 struct ClassTraits<ColourLine>:
public ClassTraitsBase<ColourLine> {
305 static string className() {
return "ThePEG::ColourLine"; }
308 static string library() {
return "ColourLine.so"; }