herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Utility
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
30
struct
DipolePartonSplitter
{
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 */
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tPPtr
ThePEG::Ptr< Particle >::transient_pointer tPPtr
ThePEG::tcPPtr
ThePEG::Ptr< Particle >::transient_const_pointer tcPPtr
Herwig::DipolePartonSplitter
The DipolePartonSplitter is a helper class to fix up colour and mother-child relations in typical sho...
Definition:
DipolePartonSplitter.h:30
Herwig::DipolePartonSplitter::split
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...
Herwig::DipolePartonSplitter::colourConnected
static bool colourConnected(tcPPtr first, tcPPtr second)
Return true, if the given partons are colour connected.
Herwig::DipolePartonSplitter::change
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....
Herwig::DipolePartonSplitter::split
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...
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6