herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
PDF
ReggeonPDF.h
1
// -*- C++ -*-
2
//
3
// ReggeonPDF.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_ReggeonPDF_H
10
#define HERWIG_ReggeonPDF_H
11
12
#include <ThePEG/PDF/PDFBase.h>
13
#include <iostream>
14
#include <fstream>
15
#include <string>
16
#include <cmath>
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
31
class
ReggeonPDF
:
public
PDFBase
{
32
33
public
:
34
38
ReggeonPDF
() :
particleID_
(111) {}
39
47
virtual
bool
canHandleParticle
(
tcPDPtr
particle)
const
;
48
54
virtual
cPDVector
partons
(
tcPDPtr
p)
const
;
55
65
virtual
double
xfx
(
tcPDPtr
particle,
tcPDPtr
parton, Energy2 partonScale,
66
double
x,
double
eps = 0.0,
67
Energy2 particleScale =
ZERO
)
const
;
68
78
virtual
double
xfvx
(
tcPDPtr
particle,
tcPDPtr
parton, Energy2 partonScale,
79
double
x,
double
eps = 0.0,
80
Energy2 particleScale =
ZERO
)
const
;
82
83
public
:
84
91
void
persistentOutput
(
PersistentOStream
& os)
const
;
92
98
void
persistentInput
(
PersistentIStream
& is,
int
version);
100
107
static
void
Init
();
108
109
110
protected
:
111
119
virtual
void
doinit
();
121
122
protected
:
123
130
virtual
IBPtr
clone
()
const
;
131
136
virtual
IBPtr
fullclone
()
const
;
138
139
140
private
:
141
146
ReggeonPDF
&
operator=
(
const
ReggeonPDF
&) =
delete
;
147
151
PDFPtr
ptrPDF_
;
152
156
long
particleID_
;
157
161
PDPtr
particle_
;
162
163
};
164
165
}
166
167
#endif
Herwig::ReggeonPDF
Implementation of the ReggeonPDF PDFs.
Definition:
ReggeonPDF.h:31
Herwig::ReggeonPDF::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::ReggeonPDF::xfvx
virtual double xfvx(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
Return x times the valence pdf for the given parameters.
Herwig::ReggeonPDF::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ReggeonPDF::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::ReggeonPDF::ptrPDF_
PDFPtr ptrPDF_
Pointer to the concrete PDF reggeon structure function.
Definition:
ReggeonPDF.h:151
Herwig::ReggeonPDF::partons
virtual cPDVector partons(tcPDPtr p) const
Return the parton types which are described by these parton densities.
Herwig::ReggeonPDF::particle_
PDPtr particle_
Pointer to the particle.
Definition:
ReggeonPDF.h:161
Herwig::ReggeonPDF::xfx
virtual double xfx(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
Return x times the pdf for the given parameters.
Herwig::ReggeonPDF::operator=
ReggeonPDF & operator=(const ReggeonPDF &)=delete
The assignment operator is private and must never be called.
Herwig::ReggeonPDF::particleID_
long particleID_
PDG code for the particle.
Definition:
ReggeonPDF.h:156
Herwig::ReggeonPDF::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::ReggeonPDF::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::ReggeonPDF::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::ReggeonPDF::ReggeonPDF
ReggeonPDF()
Default constructor.
Definition:
ReggeonPDF.h:38
Herwig::ReggeonPDF::canHandleParticle
virtual bool canHandleParticle(tcPDPtr particle) const
Return true if this PDF can handle the extraction of parton from the given particle ie.
ThePEG::PDFBase
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::ZERO
constexpr ZeroUnit ZERO
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::PDPtr
ThePEG::Ptr< ParticleData >::pointer PDPtr
ThePEG::PDFPtr
ThePEG::Ptr< PDFBase >::pointer PDFPtr
ThePEG::cPDVector
vector< cPDPtr > cPDVector
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6