herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
PDF
SatPDF.h
1
// -*- C++ -*-
2
//
3
// SatPDF.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_SatPDF_H
10
#define HERWIG_SatPDF_H
11
//
12
// This is the declaration of the SatPDF class.
13
//
14
15
#include "ThePEG/PDF/PDFBase.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
30
class
SatPDF
:
public
PDFBase
{
31
32
public
:
33
39
inline
SatPDF
() : thePDF(
PDFPtr
()), theX0(1E-4), theExp(0.0) {}
40
44
inline
SatPDF
(
const
SatPDF
& x) :
45
PDFBase
(x), thePDF(x.thePDF), theX0(x.theX0), theExp(x.theExp) {}
46
50
virtual
~
SatPDF
();
52
53
public
:
54
61
virtual
bool
canHandleParticle(
tcPDPtr
particle)
const
;
62
67
virtual
cPDVector
partons(
tcPDPtr
particle)
const
;
68
75
virtual
double
xfx(
tcPDPtr
particle,
tcPDPtr
parton, Energy2 partonScale,
76
double
x,
double
eps=0.0, Energy2 particleScale =
ZERO
)
const
;
77
87
virtual
double
xfvx(
tcPDPtr
particle,
tcPDPtr
parton, Energy2 partonScale,
88
double
x,
double
eps=0.0, Energy2 particleScale =
ZERO
)
const
;
90
91
92
public
:
93
100
void
persistentOutput(
PersistentOStream
& os)
const
;
101
107
void
persistentInput(
PersistentIStream
& is,
int
version);
109
116
static
void
Init();
117
118
protected
:
119
126
inline
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
); }
127
132
inline
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
); }
134
135
136
// If needed, insert declarations of virtual function defined in the
137
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
138
139
140
private
:
141
146
SatPDF
& operator=(
const
SatPDF
&) =
delete
;
147
151
PDFPtr
thePDF
;
152
157
double
theX0
;
158
162
double
theExp
;
163
164
};
165
166
}
167
168
#ifndef HERWIG_TEMPLATES_IN_CC_FILE
169
// #include "SatPDF.tcc"
170
#endif
171
172
#endif
/* HERWIG_SatPDF_H */
ThePEG::PersistentIStream
Herwig::SatPDF::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
SatPDF.h:132
Herwig::SatPDF::theX0
double theX0
x from where the extrapolation f(x) = f(theX0) * (x/theX0)**theExp is used for the pdf's...
Definition:
SatPDF.h:157
ThePEG::PersistentOStream
Herwig::SatPDF::thePDF
PDFPtr thePDF
pointer to the underlying ThePEG::PDFBase object, we are modifying.
Definition:
SatPDF.h:151
Herwig::SatPDF::SatPDF
SatPDF()
The default constructor.
Definition:
SatPDF.h:39
Herwig::SatPDF::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
SatPDF.h:126
Herwig::SatPDF::theExp
double theExp
the exponent of the pdf extrapolation for small x (x < theX0).
Definition:
SatPDF.h:162
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::SatPDF::SatPDF
SatPDF(const SatPDF &x)
The copy constructor.
Definition:
SatPDF.h:44
Herwig::SatPDF
The SatPDF class defines a modified pdf which uses an existing pdf object to add modifications like r...
Definition:
SatPDF.h:30
ThePEG::PDFBase
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::cPDVector
vector< cPDPtr > cPDVector
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::PDFPtr
ThePEG::Ptr< PDFBase >::pointer PDFPtr
ZERO
constexpr ZeroUnit ZERO
Generated on Sat Apr 11 2020 14:50:31 for Herwig by
1.8.13