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