herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Dipoles
FFMsqgxDipole.h
1
// -*- C++ -*-
2
//
3
// FFMsqgxDipole.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_FFMsqgxDipole_H
10
#define HERWIG_FFMsqgxDipole_H
11
//
12
// This is the declaration of the FFMsqgxDipole class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Dipoles/SubtractionDipole.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
28
class
FFMsqgxDipole
:
public
SubtractionDipole
{
29
30
public
:
31
35
FFMsqgxDipole
();
36
37
public
:
38
43
virtual
bool
canHandleEmitter
(
const
cPDVector
& partons,
int
emitter
)
const
{
44
return
45
emitter
> 1 &&
46
(abs(abs(partons[
emitter
]->
id
()) - 1000000) < 7 || abs(abs(partons[
emitter
]->
id
()) - 2000000) < 7);
47
}
48
53
virtual
bool
canHandleSplitting
(
const
cPDVector
& partons,
int
emitter
,
int
emission
)
const
{
54
return
55
canHandleEmitter
(partons,
emitter
) &&
56
partons[
emission
]->id() ==
ParticleID::g
;
57
}
58
63
virtual
bool
canHandleSpectator
(
const
cPDVector
& partons,
int
spectator
)
const
{
64
return
spectator
> 1 && partons[
spectator
]->coloured();
65
}
66
71
virtual
bool
canHandle
(
const
cPDVector
& partons,
72
int
emitter
,
int
emission
,
int
spectator
)
const
;
73
82
virtual
int
samplingZ
()
const
{
return
3;}
83
89
virtual
double
me2
()
const
;
90
94
virtual
double
me2Avg
(
double
ccme2)
const
;
95
96
public
:
97
104
void
persistentOutput
(
PersistentOStream
& os)
const
;
105
111
void
persistentInput
(
PersistentIStream
& is,
int
version);
113
120
static
void
Init
();
121
122
protected
:
123
130
virtual
IBPtr
clone
()
const
;
131
136
virtual
IBPtr
fullclone
()
const
;
138
139
140
// If needed, insert declarations of virtual function defined in the
141
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
142
143
144
private
:
145
150
FFMsqgxDipole
&
operator=
(
const
FFMsqgxDipole
&) =
delete
;
151
152
};
153
154
}
155
156
#endif
/* HERWIG_FFMsqgxDipole_H */
Herwig::FFMsqgxDipole
FFMsqgxDipole implements the D_{sq,g;k} subtraction dipole.
Definition:
FFMsqgxDipole.h:28
Herwig::FFMsqgxDipole::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::FFMsqgxDipole::canHandleSplitting
virtual bool canHandleSplitting(const cPDVector &partons, int emitter, int emission) const
Return true, if this dipole can possibly handle the indicated splitting.
Definition:
FFMsqgxDipole.h:53
Herwig::FFMsqgxDipole::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::FFMsqgxDipole::samplingZ
virtual int samplingZ() const
How to sample the z-distribution.
Definition:
FFMsqgxDipole.h:82
Herwig::FFMsqgxDipole::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::FFMsqgxDipole::me2
virtual double me2() const
Return the matrix element for the kinematical configuation previously provided by the last call to se...
Herwig::FFMsqgxDipole::canHandleSpectator
virtual bool canHandleSpectator(const cPDVector &partons, int spectator) const
Return true, if this dipole can possibly handle the indicated spectator.
Definition:
FFMsqgxDipole.h:63
Herwig::FFMsqgxDipole::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::FFMsqgxDipole::me2Avg
virtual double me2Avg(double ccme2) const
Return the matrix element averaged over spin correlations.
Herwig::FFMsqgxDipole::FFMsqgxDipole
FFMsqgxDipole()
The default constructor.
Herwig::FFMsqgxDipole::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FFMsqgxDipole::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FFMsqgxDipole::canHandleEmitter
virtual bool canHandleEmitter(const cPDVector &partons, int emitter) const
Return true, if this dipole can possibly handle the indicated emitter.
Definition:
FFMsqgxDipole.h:43
Herwig::FFMsqgxDipole::operator=
FFMsqgxDipole & operator=(const FFMsqgxDipole &)=delete
The assignment operator is private and must never be called.
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