herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
17namespace Herwig {
18
19using 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 */
-*- C++ -*-
ThePEG::Ptr< Particle >::transient_pointer tPPtr
ThePEG::Ptr< Particle >::transient_const_pointer tcPPtr
The DipolePartonSplitter is a helper class to fix up colour and mother-child relations in typical sho...
static void split(tPPtr parent, tPPtr firstChild, tPPtr secondChild, tPPtr ref, bool initialState, bool decayedEmitter=false)
Fix up relations for splitting the first to the second and third parton; use conventions of a backwar...
static bool colourConnected(tcPPtr first, tcPPtr second)
Return true, if the given partons are colour connected.
static void change(tPPtr parent, tPPtr child, bool initialState, bool decayedSpec=false)
Fix up relations for the case that the new parton instance exists only due to changes in e....
static void split(tPPtr parent, tPPtr firstChild, tPPtr secondChild, bool initialState, bool decayedEmitter=false)
Fix up mother child relations for splitting the first to the second and third parton; use conventions...