herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
MatrixElement
Powheg
MEPP2ZHPowheg.h
1
// -*- C++ -*-
2
#ifndef HERWIG_MEPP2ZHPowheg_H
3
#define HERWIG_MEPP2ZHPowheg_H
4
//
5
// This is the declaration of the MEPP2ZHPowheg class.
6
//
7
8
#include "Herwig/MatrixElement/Hadron/MEPP2ZH.h"
9
#include "ThePEG/PDF/BeamParticleData.h"
10
11
namespace
Herwig
{
12
13
using namespace
ThePEG
;
14
22
class
MEPP2ZHPowheg
:
public
MEPP2ZH
{
23
24
public
:
25
29
MEPP2ZHPowheg
();
30
36
virtual
Energy2
scale
()
const
;
37
42
virtual
int
nDim
()
const
;
43
51
virtual
bool
generateKinematics
(
const
double
* r);
52
58
virtual
CrossSection
dSigHatDR
()
const
;
60
61
public
:
62
69
void
persistentOutput
(
PersistentOStream
& os)
const
;
70
76
void
persistentInput
(
PersistentIStream
& is,
int
version);
78
85
static
void
Init
();
86
87
protected
:
92
double
NLOweight
()
const
;
93
97
double
x
(
double
xt,
double
v)
const
;
98
102
double
x_a
(
double
x
,
double
v)
const
;
103
107
double
x_b
(
double
x
,
double
v)
const
;
108
112
double
xbar
(
double
v)
const
;
113
118
double
Ltilde_qg
(
double
x
,
double
v)
const
;
119
124
double
Ltilde_gq
(
double
x
,
double
v)
const
;
125
130
double
Ltilde_qq
(
double
x
,
double
v)
const
;
131
135
double
Vtilde_qq
()
const
;
136
141
double
Ccalbar_qg
(
double
x
)
const
;
142
147
double
Fcal_qg
(
double
x
,
double
v)
const
;
148
153
double
Fcal_gq
(
double
x
,
double
v)
const
;
154
159
double
Fcal_qq
(
double
x
,
double
v)
const
;
160
165
double
Ftilde_qg
(
double
xt,
double
v)
const
;
166
171
double
Ftilde_gq
(
double
xt,
double
v)
const
;
172
177
double
Ftilde_qq
(
double
xt,
double
v)
const
;
178
183
double
Ctilde_qg
(
double
x
,
double
v)
const
;
184
189
double
Ctilde_gq
(
double
x
,
double
v)
const
;
190
195
double
Ctilde_qq
(
double
x
,
double
v)
const
;
196
197
protected
:
198
205
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
); }
206
211
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
); }
213
214
protected
:
215
223
virtual
void
doinit
();
225
226
private
:
227
232
MEPP2ZHPowheg
&
operator=
(
const
MEPP2ZHPowheg
&) =
delete
;
233
234
private
:
235
239
mutable
double
_xb_a
;
240
244
mutable
double
_xb_b
;
245
249
mutable
tcPDPtr
_parton_a
;
250
254
mutable
tcPDPtr
_parton_b
;
255
259
mutable
Ptr<BeamParticleData>::transient_const_pointer
_hadron_A
;
260
264
mutable
Ptr<BeamParticleData>::transient_const_pointer
_hadron_B
;
265
269
tcPDPtr
_gluon
;
270
274
const
double
TR_
;
275
279
const
double
CF_
;
280
284
mutable
double
_alphaS2Pi
;
285
289
mutable
Energy2
_mll2
;
290
294
mutable
Energy2
_mu2
;
295
303
unsigned
int
_contrib
;
304
308
unsigned
int
_nlo_alphaS_opt
;
309
313
double
_fixed_alphaS
;
314
318
double
_a
;
319
323
double
_p
;
324
326
334
unsigned
int
_scaleopt
;
335
339
Energy
_fixedScale
;
340
344
double
_scaleFact
;
346
354
double
_xt
;
355
359
double
_v
;
361
369
mutable
double
_oldq
;
370
374
mutable
double
_oldqbar
;
376
};
377
378
}
379
380
#endif
/* HERWIG_MEPP2ZHPowheg_H */
Herwig::MEPP2ZHPowheg
The MEPP2ZHPowheg class implements the matrix element for .
Definition:
MEPP2ZHPowheg.h:22
Herwig::MEPP2ZHPowheg::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
MEPP2ZHPowheg.h:211
Herwig::MEPP2ZHPowheg::_hadron_B
Ptr< BeamParticleData >::transient_const_pointer _hadron_B
The BeamParticleData object for the second hadron.
Definition:
MEPP2ZHPowheg.h:264
Herwig::MEPP2ZHPowheg::CF_
const double CF_
The colour factor.
Definition:
MEPP2ZHPowheg.h:279
Herwig::MEPP2ZHPowheg::Fcal_qq
double Fcal_qq(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::x
double x(double xt, double v) const
Calculate the variable from the integration variables.
Herwig::MEPP2ZHPowheg::Ltilde_qg
double Ltilde_qg(double x, double v) const
Calculate the ratio of the radiative luminosity funcion to the Born luminosity function for the init...
Herwig::MEPP2ZHPowheg::Fcal_gq
double Fcal_gq(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::_gluon
tcPDPtr _gluon
the ParticleData object for the gluon
Definition:
MEPP2ZHPowheg.h:269
Herwig::MEPP2ZHPowheg::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::MEPP2ZHPowheg::Ltilde_gq
double Ltilde_gq(double x, double v) const
Calculate the ratio of the radiative luminosity funcion to the Born luminosity function for the init...
Herwig::MEPP2ZHPowheg::Ftilde_gq
double Ftilde_gq(double xt, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::_scaleopt
unsigned int _scaleopt
Choice of the scale.
Definition:
MEPP2ZHPowheg.h:334
Herwig::MEPP2ZHPowheg::dSigHatDR
virtual CrossSection dSigHatDR() const
Return the matrix element for the kinematical configuation previously provided by the last call to se...
Herwig::MEPP2ZHPowheg::x_b
double x_b(double x, double v) const
Calculate the momentum fraction of second parton.
Herwig::MEPP2ZHPowheg::_hadron_A
Ptr< BeamParticleData >::transient_const_pointer _hadron_A
The BeamParticleData object for the first hadron.
Definition:
MEPP2ZHPowheg.h:259
Herwig::MEPP2ZHPowheg::xbar
double xbar(double v) const
Calculate the minimum of .
Herwig::MEPP2ZHPowheg::_xt
double _xt
Radiation variables.
Definition:
MEPP2ZHPowheg.h:354
Herwig::MEPP2ZHPowheg::Ftilde_qq
double Ftilde_qq(double xt, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::_parton_b
tcPDPtr _parton_b
The ParticleData object for the second parton in the Born process.
Definition:
MEPP2ZHPowheg.h:254
Herwig::MEPP2ZHPowheg::_parton_a
tcPDPtr _parton_a
The ParticleData object for the first parton in the Born process.
Definition:
MEPP2ZHPowheg.h:249
Herwig::MEPP2ZHPowheg::Ccalbar_qg
double Ccalbar_qg(double x) const
Function for calculation of the and initiated real contribution.
Herwig::MEPP2ZHPowheg::_mu2
Energy2 _mu2
The renormalization/factorization scale.
Definition:
MEPP2ZHPowheg.h:294
Herwig::MEPP2ZHPowheg::TR_
const double TR_
The colour factor.
Definition:
MEPP2ZHPowheg.h:274
Herwig::MEPP2ZHPowheg::nDim
virtual int nDim() const
The number of internal degreed of freedom used in the matrix element.
Herwig::MEPP2ZHPowheg::_contrib
unsigned int _contrib
Parameters for the NLO weight.
Definition:
MEPP2ZHPowheg.h:303
Herwig::MEPP2ZHPowheg::_fixed_alphaS
double _fixed_alphaS
The value of alphaS to use for the nlo weight if _nloalphaSopt=1.
Definition:
MEPP2ZHPowheg.h:313
Herwig::MEPP2ZHPowheg::_p
double _p
The power of the correction term to reduce the negative contribution.
Definition:
MEPP2ZHPowheg.h:323
Herwig::MEPP2ZHPowheg::NLOweight
double NLOweight() const
Calculate the correction weight with which leading-order configurations are re-weighted.
Herwig::MEPP2ZHPowheg::Fcal_qg
double Fcal_qg(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::MEPP2ZHPowheg::_oldq
double _oldq
Values of the PDF's before radiation.
Definition:
MEPP2ZHPowheg.h:369
Herwig::MEPP2ZHPowheg::x_a
double x_a(double x, double v) const
Calculate the momentum fraction of the first parton.
Herwig::MEPP2ZHPowheg::Vtilde_qq
double Vtilde_qq() const
Calculate the soft-virtual contribution to the NLO weight.
Herwig::MEPP2ZHPowheg::_v
double _v
The angular variable.
Definition:
MEPP2ZHPowheg.h:359
Herwig::MEPP2ZHPowheg::Ltilde_qq
double Ltilde_qq(double x, double v) const
Calculate the ratio of the radiative luminosity funcion to the Born luminosity function for the init...
Herwig::MEPP2ZHPowheg::_xb_b
double _xb_b
The momentum fraction of the second parton in the Born process.
Definition:
MEPP2ZHPowheg.h:244
Herwig::MEPP2ZHPowheg::_a
double _a
The magnitude of the correction term to reduce the negative contribution.
Definition:
MEPP2ZHPowheg.h:318
Herwig::MEPP2ZHPowheg::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
MEPP2ZHPowheg.h:205
Herwig::MEPP2ZHPowheg::Ctilde_qg
double Ctilde_qg(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::scale
virtual Energy2 scale() const
Return the scale associated with the last set phase space point.
Herwig::MEPP2ZHPowheg::Ctilde_gq
double Ctilde_gq(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::_alphaS2Pi
double _alphaS2Pi
The value of used for the calculation.
Definition:
MEPP2ZHPowheg.h:284
Herwig::MEPP2ZHPowheg::MEPP2ZHPowheg
MEPP2ZHPowheg()
The default constructor.
Herwig::MEPP2ZHPowheg::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::MEPP2ZHPowheg::operator=
MEPP2ZHPowheg & operator=(const MEPP2ZHPowheg &)=delete
The assignment operator is private and must never be called.
Herwig::MEPP2ZHPowheg::_scaleFact
double _scaleFact
Prefactor if variable scale used.
Definition:
MEPP2ZHPowheg.h:344
Herwig::MEPP2ZHPowheg::_xb_a
double _xb_a
The momentum fraction of the first parton in the Born process.
Definition:
MEPP2ZHPowheg.h:239
Herwig::MEPP2ZHPowheg::_mll2
Energy2 _mll2
The mass squared of the lepton pair.
Definition:
MEPP2ZHPowheg.h:289
Herwig::MEPP2ZHPowheg::_fixedScale
Energy _fixedScale
Fixed scale if used.
Definition:
MEPP2ZHPowheg.h:339
Herwig::MEPP2ZHPowheg::_nlo_alphaS_opt
unsigned int _nlo_alphaS_opt
Whether to use a fixed or a running QCD coupling for the NLO weight.
Definition:
MEPP2ZHPowheg.h:308
Herwig::MEPP2ZHPowheg::Ctilde_qq
double Ctilde_qq(double x, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::Ftilde_qg
double Ftilde_qg(double xt, double v) const
Function for calculation of the initiated real contribution.
Herwig::MEPP2ZHPowheg::generateKinematics
virtual bool generateKinematics(const double *r)
Generate internal degrees of freedom given 'nDim()' uniform random numbers in the interval ]0,...
Herwig::MEPP2ZHPowheg::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::MEPP2ZHPowheg::_oldqbar
double _oldqbar
For the antiquark.
Definition:
MEPP2ZHPowheg.h:374
Herwig::MEPP2ZH
The MEPP2ZH class implements the matrix element for .
Definition:
MEPP2ZH.h:21
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6