herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Utility
PDFRatio.h
1
// -*- C++ -*-
2
//
3
// PDFRatio.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_PDFRatio_H
10
#define HERWIG_PDFRatio_H
11
//
12
// This is the declaration of the PDFRatio class.
13
//
14
15
#include "ThePEG/Handlers/HandlerBase.h"
16
#include "ThePEG/PDF/PDF.h"
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
31
class
PDFRatio
:
public
HandlerBase
{
32
33
public
:
34
38
PDFRatio
();
39
40
public
:
41
46
double
operator()
(
const
PDF
& pdf,
47
Energy2 scale,
48
tcPDPtr
from,
tcPDPtr
to,
49
double
x,
double
z)
const
;
50
51
public
:
52
59
void
persistentOutput
(
PersistentOStream
& os)
const
;
60
66
void
persistentInput
(
PersistentIStream
& is,
int
version);
68
75
static
void
Init
();
76
77
protected
:
78
85
virtual
IBPtr
clone
()
const
;
86
91
virtual
IBPtr
fullclone
()
const
;
93
94
95
// If needed, insert declarations of virtual function defined in the
96
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
97
98
private
:
99
104
double
theValenceExtrapolation
;
105
110
double
theSeaExtrapolation
;
111
115
Energy
theFreezingScale
;
116
117
private
:
118
123
static
ClassDescription<PDFRatio>
initPDFRatio
;
124
129
PDFRatio
&
operator=
(
const
PDFRatio
&) =
delete
;
130
131
};
132
133
}
134
135
#include "ThePEG/Utilities/ClassTraits.h"
136
137
namespace
ThePEG
{
138
143
template
<>
144
struct
BaseClassTrait
<
Herwig
::PDFRatio,1> {
146
typedef
HandlerBase
NthBase
;
147
};
148
151
template
<>
152
struct
ClassTraits
<
Herwig
::PDFRatio>
153
:
public
ClassTraitsBase
<Herwig::PDFRatio> {
155
static
string
className
() {
return
"Herwig::PDFRatio"
; }
163
static
string
library
() {
return
"HwDipoleShower.so"
; }
164
};
165
168
}
169
170
#endif
/* HERWIG_PDFRatio_H */
Herwig::PDFRatio
PDFRatio implements numerically stable PDF ratios.
Definition:
PDFRatio.h:31
Herwig::PDFRatio::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::PDFRatio::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::PDFRatio::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::PDFRatio::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::PDFRatio::theFreezingScale
Energy theFreezingScale
The scale below which the PDF will be frozen.
Definition:
PDFRatio.h:115
Herwig::PDFRatio::theValenceExtrapolation
double theValenceExtrapolation
The x from which on extrapolation should be done for valence partons.
Definition:
PDFRatio.h:104
Herwig::PDFRatio::PDFRatio
PDFRatio()
The default constructor.
Herwig::PDFRatio::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::PDFRatio::initPDFRatio
static ClassDescription< PDFRatio > initPDFRatio
The static object used to initialize the description of this class.
Definition:
PDFRatio.h:123
Herwig::PDFRatio::theSeaExtrapolation
double theSeaExtrapolation
The x from which on extrapolation should be done for sea partons.
Definition:
PDFRatio.h:110
Herwig::PDFRatio::operator()
double operator()(const PDF &pdf, Energy2 scale, tcPDPtr from, tcPDPtr to, double x, double z) const
For the given PDF, scale and partons from and to and x,z values return the ratio xf_to(x/z) / xf_from...
Herwig::PDFRatio::operator=
PDFRatio & operator=(const PDFRatio &)=delete
The assignment operator is private and must never be called.
ThePEG::ClassDescription
ThePEG::HandlerBase
ThePEG::PDF
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
ThePEG::BaseClassTrait
ThePEG::BaseClassTrait::NthBase
int NthBase
ThePEG::ClassTraitsBase
ThePEG::ClassTraitsBase::className
static string className()
ThePEG::ClassTraitsBase::library
static string library()
ThePEG::ClassTraits
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6