herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Matchbox
Dipoles
FIMqgxDipole.h
1
// -*- C++ -*-
2
//
3
// FIMqgxDipole.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_FIMqgxDipole_H
10
#define HERWIG_FIMqgxDipole_H
11
//
12
// This is the declaration of the FIMqgxDipole class.
13
//
14
15
#include "Herwig/MatrixElement/Matchbox/Dipoles/SubtractionDipole.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
29
class
FIMqgxDipole
:
public
SubtractionDipole
{
30
31
public
:
32
36
FIMqgxDipole
();
37
38
public
:
39
44
virtual
bool
canHandleEmitter
(
const
cPDVector
& partons,
int
emitter
)
const
{
45
return
emitter
> 1 && abs(partons[
emitter
]->
id
()) < 7;
46
}
47
52
virtual
bool
canHandleSplitting
(
const
cPDVector
& partons,
int
emitter
,
int
emission
)
const
{
53
return
canHandleEmitter
(partons,
emitter
) && partons[
emission
]->id() ==
ParticleID::g
;
54
}
55
60
virtual
bool
canHandleSpectator
(
const
cPDVector
& partons,
int
spectator
)
const
{
61
return
spectator
< 2 && partons[
spectator
]->coloured();
62
}
63
68
virtual
bool
canHandle
(
const
cPDVector
& partons,
69
int
emitter
,
int
emission
,
int
spectator
)
const
;
70
79
virtual
int
samplingZ
()
const
{
return
3;}
80
86
virtual
double
me2
()
const
;
87
91
virtual
double
me2Avg
(
double
ccme2)
const
;
92
93
public
:
94
101
void
persistentOutput
(
PersistentOStream
& os)
const
;
102
108
void
persistentInput
(
PersistentIStream
& is,
int
version);
110
117
static
void
Init
();
118
119
protected
:
120
127
virtual
IBPtr
clone
()
const
;
128
133
virtual
IBPtr
fullclone
()
const
;
135
136
137
// If needed, insert declarations of virtual function defined in the
138
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
139
140
141
private
:
142
147
FIMqgxDipole
&
operator=
(
const
FIMqgxDipole
&) =
delete
;
148
149
};
150
151
}
152
153
#endif
/* HERWIG_FIMqgxDipole_H */
Herwig::FIMqgxDipole
FIMqgxDipole implements the D_{Q,g}^a subtraction dipole, as well as the D_{gluino,...
Definition:
FIMqgxDipole.h:29
Herwig::FIMqgxDipole::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FIMqgxDipole::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::FIMqgxDipole::me2
virtual double me2() const
Return the matrix element for the kinematical configuation previously provided by the last call to se...
Herwig::FIMqgxDipole::operator=
FIMqgxDipole & operator=(const FIMqgxDipole &)=delete
The assignment operator is private and must never be called.
Herwig::FIMqgxDipole::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FIMqgxDipole::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::FIMqgxDipole::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::FIMqgxDipole::canHandleEmitter
virtual bool canHandleEmitter(const cPDVector &partons, int emitter) const
Return true, if this dipole can possibly handle the indicated emitter.
Definition:
FIMqgxDipole.h:44
Herwig::FIMqgxDipole::samplingZ
virtual int samplingZ() const
How to sample the z-distribution.
Definition:
FIMqgxDipole.h:79
Herwig::FIMqgxDipole::canHandleSplitting
virtual bool canHandleSplitting(const cPDVector &partons, int emitter, int emission) const
Return true, if this dipole can possibly handle the indicated splitting.
Definition:
FIMqgxDipole.h:52
Herwig::FIMqgxDipole::FIMqgxDipole
FIMqgxDipole()
The default constructor.
Herwig::FIMqgxDipole::me2Avg
virtual double me2Avg(double ccme2) const
Return the matrix element averaged over spin correlations.
Herwig::FIMqgxDipole::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::FIMqgxDipole::canHandleSpectator
virtual bool canHandleSpectator(const cPDVector &partons, int spectator) const
Return true, if this dipole can possibly handle the indicated spectator.
Definition:
FIMqgxDipole.h:60
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