2 #ifndef THEPEG_WeizsackerWilliamsPDF_H
3 #define THEPEG_WeizsackerWilliamsPDF_H
8 #include "ThePEG/PDF/PDFBase.h"
50 double l, Energy2 particleScale =
ZERO)
const;
61 double l, Energy2 particleScale =
ZERO)
const;
76 const PDFCuts & cut,
double l,
double z,
77 double & jacobian)
const;
90 double z,
double & jacobian)
const;
170 #include "ThePEG/Utilities/ClassTraits.h"
190 static string className() {
return "ThePEG::WeizsackerWilliamsPDF"; }
198 static string library() {
return "WeizsackerWilliamsPDF.so"; }
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits
::create()
PersistentIStream is used to read persistent objects from a stream where they were previously written...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual double flattenL(tcPDPtr particle, tcPDPtr parton, const PDFCuts &cut, double z, double &jacobian) const
Generate a momentum fraction.
The PDFCuts class is used to specify cuts on scale and momentum fractions for which a PDFBase object ...
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr clone() const
Make a simple clone of this object.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
This is the main namespace within which all identifiers in ThePEG are declared.
virtual double flattenScale(tcPDPtr particle, tcPDPtr parton, const PDFCuts &cut, double l, double z, double &jacobian) const
Generate scale (as a fraction of the maximum scale).
WeizsackerWilliamsPDF()
Default constructor.
virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
The density.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
virtual double xfvl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
The valence density.
Energy2 _q2min
Minimum for the photon.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
PDFBase is the base class for implementing parton density functions for particles with sub-structure...
RCPtr is a reference counted (smart) pointer.
vector< cPDPtr > cPDVector
A vector of pointers to const ParticleData objects.
double _a
Parameter for the jacobian mapping of .
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
The default concrete implementation of ClassTraitsBase.
WeizsackerWilliamsPDF & operator=(const WeizsackerWilliamsPDF &)
The assignment operator is private and must never be called.
static string className()
Return the name of class T.
virtual cPDVector partons(tcPDPtr particle) const
Return the partons which this PDF may extract from the given particle.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Energy2 _q2max
Maximum for the photon.
Here is the documentation of the WeizsackerWilliamsPDF class.
BaseClassTraits describes the base classes of the templated class.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
virtual bool canHandleParticle(tcPDPtr particle) const
Return true if this PDF can handle the extraction of partons from the given particle.
static ClassDescription< WeizsackerWilliamsPDF > initWeizsackerWilliamsPDF
The static object used to initialize the description of this class.