herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
MatrixElement
Matchbox
Dipoles
FFggxDipole.h
1
// -*- C++ -*-
2
//
3
// FFggxDipole.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_FFggxDipole_H
10
#define HERWIG_FFggxDipole_H
11
//
12
// This is the declaration of the FFggxDipole class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Dipoles/SubtractionDipole.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
28
class
FFggxDipole
:
public
SubtractionDipole
{
29
30
public
:
31
37
FFggxDipole
();
38
42
virtual
~
FFggxDipole
();
44
45
public
:
46
51
virtual
bool
canHandleEmitter
(
const
cPDVector
& partons,
int
emitter)
const
{
52
return
emitter > 1 && partons[emitter]->id() == ParticleID::g;
53
}
54
59
virtual
bool
canHandleSplitting
(
const
cPDVector
& partons,
int
emitter,
int
emission)
const
{
60
return
canHandleEmitter(partons,emitter) && partons[emission]->id() == ParticleID::g;
61
}
62
67
virtual
bool
canHandleSpectator
(
const
cPDVector
& partons,
int
spectator)
const
{
68
return
spectator > 1 && partons[spectator]->coloured();
69
}
70
75
virtual
bool
canHandle(
const
cPDVector
& partons,
76
int
emitter,
int
emission,
int
spectator)
const
;
77
82
virtual
bool
isSymmetric
()
const
{
return
true
; }
83
92
virtual
int
samplingZ
()
const
{
return
4;}
93
94
100
virtual
double
me2()
const
;
101
105
virtual
double
me2Avg(
double
ccme2)
const
;
106
107
public
:
108
115
void
persistentOutput(
PersistentOStream
& os)
const
;
116
122
void
persistentInput(
PersistentIStream
& is,
int
version);
124
131
static
void
Init();
132
133
protected
:
134
141
virtual
IBPtr
clone()
const
;
142
147
virtual
IBPtr
fullclone()
const
;
149
150
151
// If needed, insert declarations of virtual function defined in the
152
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
153
154
155
private
:
156
161
FFggxDipole
& operator=(
const
FFggxDipole
&) =
delete
;
162
163
};
164
165
}
166
167
#endif
/* HERWIG_FFggxDipole_H */
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::FFggxDipole::canHandleSpectator
virtual bool canHandleSpectator(const cPDVector &partons, int spectator) const
Return true, if this dipole can possibly handle the indicated spectator.
Definition:
FFggxDipole.h:67
ThePEG
Herwig::FFggxDipole::isSymmetric
virtual bool isSymmetric() const
Return true, if this dipole is symmetric with respect to emitter and emission.
Definition:
FFggxDipole.h:82
Herwig::FFggxDipole::canHandleEmitter
virtual bool canHandleEmitter(const cPDVector &partons, int emitter) const
Return true, if this dipole can possibly handle the indicated emitter.
Definition:
FFggxDipole.h:51
Herwig::FFggxDipole::canHandleSplitting
virtual bool canHandleSplitting(const cPDVector &partons, int emitter, int emission) const
Return true, if this dipole can possibly handle the indicated splitting.
Definition:
FFggxDipole.h:59
ThePEG::cPDVector
vector< cPDPtr > cPDVector
Herwig::FFggxDipole
FFggxDipole implements the D_{g,g;k} subtraction dipole.
Definition:
FFggxDipole.h:28
Herwig::SubtractionDipole
SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour...
Definition:
SubtractionDipole.h:37
Herwig::FFggxDipole::samplingZ
virtual int samplingZ() const
How to sample the z-distribution.
Definition:
FFggxDipole.h:92
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Generated on Sat Apr 11 2020 14:50:29 for Herwig by
1.8.13