herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
MatrixElement
Matchbox
Dipoles
IIggxDipole.h
1
// -*- C++ -*-
2
//
3
// IIggxDipole.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_IIggxDipole_H
10
#define HERWIG_IIggxDipole_H
11
//
12
// This is the declaration of the IIggxDipole class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Dipoles/SubtractionDipole.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
28
class
IIggxDipole
:
public
SubtractionDipole
{
29
30
public
:
31
37
IIggxDipole
();
38
42
virtual
~
IIggxDipole
();
44
45
public
:
46
51
virtual
bool
canHandleEmitter
(
const
cPDVector
& partons,
int
emitter)
const
{
52
return
emitter < 2 && 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 < 2 && partons[spectator]->coloured();
69
}
70
75
virtual
bool
canHandle(
const
cPDVector
& partons,
76
int
emitter,
int
emission,
int
spectator)
const
;
85
virtual
int
samplingZ
()
const
{
return
4;}
86
92
virtual
double
me2()
const
;
93
97
virtual
double
me2Avg(
double
ccme2)
const
;
98
99
public
:
100
107
void
persistentOutput(
PersistentOStream
& os)
const
;
108
114
void
persistentInput(
PersistentIStream
& is,
int
version);
116
123
static
void
Init();
124
125
protected
:
126
133
virtual
IBPtr
clone()
const
;
134
139
virtual
IBPtr
fullclone()
const
;
141
142
143
// If needed, insert declarations of virtual function defined in the
144
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
145
146
147
private
:
148
153
IIggxDipole
& operator=(
const
IIggxDipole
&) =
delete
;
154
155
};
156
157
}
158
159
#endif
/* HERWIG_IIggxDipole_H */
ThePEG::PersistentIStream
Herwig::IIggxDipole::canHandleEmitter
virtual bool canHandleEmitter(const cPDVector &partons, int emitter) const
Return true, if this dipole can possibly handle the indicated emitter.
Definition:
IIggxDipole.h:51
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::IIggxDipole::canHandleSpectator
virtual bool canHandleSpectator(const cPDVector &partons, int spectator) const
Return true, if this dipole can possibly handle the indicated spectator.
Definition:
IIggxDipole.h:67
ThePEG
Herwig::IIggxDipole
IIggxDipole implements the D^{g,g;b} subtraction dipole.
Definition:
IIggxDipole.h:28
ThePEG::cPDVector
vector< cPDPtr > cPDVector
Herwig::IIggxDipole::samplingZ
virtual int samplingZ() const
How to sample the z-distribution.
Definition:
IIggxDipole.h:85
Herwig::SubtractionDipole
SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour...
Definition:
SubtractionDipole.h:37
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::IIggxDipole::canHandleSplitting
virtual bool canHandleSplitting(const cPDVector &partons, int emitter, int emission) const
Return true, if this dipole can possibly handle the indicated splitting.
Definition:
IIggxDipole.h:59
Generated on Sat Apr 11 2020 14:50:29 for Herwig by
1.8.13