herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
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
35
FFggxDipole
();
36
37
public
:
38
43
virtual
bool
canHandleEmitter
(
const
cPDVector
& partons,
int
emitter
)
const
{
44
return
emitter
> 1 && partons[
emitter
]->id() ==
ParticleID::g
;
45
}
46
51
virtual
bool
canHandleSplitting
(
const
cPDVector
& partons,
int
emitter
,
int
emission
)
const
{
52
return
canHandleEmitter
(partons,
emitter
) && partons[
emission
]->id() ==
ParticleID::g
;
53
}
54
59
virtual
bool
canHandleSpectator
(
const
cPDVector
& partons,
int
spectator
)
const
{
60
return
spectator
> 1 && partons[
spectator
]->coloured();
61
}
62
67
virtual
bool
canHandle
(
const
cPDVector
& partons,
68
int
emitter
,
int
emission
,
int
spectator
)
const
;
69
74
virtual
bool
isSymmetric
()
const
{
return
true
; }
75
84
virtual
int
samplingZ
()
const
{
return
4;}
85
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
FFggxDipole
&
operator=
(
const
FFggxDipole
&) =
delete
;
154
155
};
156
157
}
158
159
#endif
/* HERWIG_FFggxDipole_H */
Herwig::FFggxDipole
FFggxDipole implements the D_{g,g;k} subtraction dipole.
Definition:
FFggxDipole.h:28
Herwig::FFggxDipole::samplingZ
virtual int samplingZ() const
How to sample the z-distribution.
Definition:
FFggxDipole.h:84
Herwig::FFggxDipole::canHandle
virtual bool canHandle(const cPDVector &partons, int emitter, int emission, int spectator) const
Return true, if this dipole applies to the selected configuration.
Herwig::FFggxDipole::me2
virtual double me2() const
Return the matrix element for the kinematical configuation previously provided by the last call to se...
Herwig::FFggxDipole::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FFggxDipole::me2Avg
virtual double me2Avg(double ccme2) const
Return the matrix element averaged over spin correlations.
Herwig::FFggxDipole::operator=
FFggxDipole & operator=(const FFggxDipole &)=delete
The assignment operator is private and must never be called.
Herwig::FFggxDipole::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
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:51
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:43
Herwig::FFggxDipole::FFggxDipole
FFggxDipole()
The default constructor.
Herwig::FFggxDipole::isSymmetric
virtual bool isSymmetric() const
Return true, if this dipole is symmetric with respect to emitter and emission.
Definition:
FFggxDipole.h:74
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:59
Herwig::FFggxDipole::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FFggxDipole::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::FFggxDipole::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::SubtractionDipole
SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour.
Definition:
SubtractionDipole.h:38
Herwig::SubtractionDipole::emission
static int emission(const RealEmissionKey &key)
Return the emission id of a real emission key.
Definition:
SubtractionDipole.h:270
Herwig::SubtractionDipole::emitter
static int emitter(const RealEmissionKey &key)
Return the emitter id of a real emission key.
Definition:
SubtractionDipole.h:277
Herwig::SubtractionDipole::spectator
static int spectator(const RealEmissionKey &key)
Return the spectator id of a real emission key.
Definition:
SubtractionDipole.h:284
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::ParticleID::g
g
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::cPDVector
vector< cPDPtr > cPDVector
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6