herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
DipolePartonSplitter.h
1 // -*- C++ -*-
2 //
3 // DipolePartonSplitter.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig 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 HERWIG_DipolePartonSplitter_H
10 #define HERWIG_DipolePartonSplitter_H
11 //
12 // This is the declaration of the DipolePartonSplitter class.
13 //
14 
15 #include "ThePEG/EventRecord/Particle.fh"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
31 
39  static void split(tPPtr parent, tPPtr firstChild, tPPtr secondChild,
40  bool initialState, bool decayedEmitter=false);
41 
52  static void split(tPPtr parent, tPPtr firstChild, tPPtr secondChild,
53  tPPtr ref, bool initialState, bool decayedEmitter=false);
54 
60  static void change(tPPtr parent, tPPtr child, bool initialState, bool decayedSpec=false);
61 
65  static bool colourConnected(tcPPtr first, tcPPtr second);
66 
67 };
68 
69 }
70 
71 #endif /* HERWIG_DipolePartonSplitter_H */
The DipolePartonSplitter is a helper class to fix up colour and mother-child relations in typical sho...
ThePEG::Ptr< Particle >::transient_pointer tPPtr
ThePEG::Ptr< Particle >::transient_const_pointer tcPPtr
-*- C++ -*-