#include <WeizsackerWilliamsPDF.h>
Public Member Functions | |
WeizsackerWilliamsPDF () | |
Default constructor. | |
Virtual functions to be overridden by sub-classes. | |
virtual bool | canHandleParticle (tcPDPtr particle) const |
Return true if this PDF can handle the extraction of partons from the given particle. | |
virtual cPDVector | partons (tcPDPtr particle) const |
Return the partons which this PDF may extract from the given particle. | |
virtual double | xfl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const |
The density. | |
virtual double | xfvl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const |
The valence density. | |
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). | |
virtual double | flattenL (tcPDPtr particle, tcPDPtr parton, const PDFCuts &cut, double z, double &jacobian) const |
Generate a momentum fraction. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Protected Member Functions | |
Clone Methods. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. | |
Private Member Functions | |
WeizsackerWilliamsPDF & | operator= (const WeizsackerWilliamsPDF &) |
The assignment operator is private and must never be called. | |
Private Attributes | |
Energy2 | _q2min |
Minimum for the photon. | |
Energy2 | _q2max |
Maximum for the photon. | |
Static Private Attributes | |
static ClassDescription < WeizsackerWilliamsPDF > | initWeizsackerWilliamsPDF |
The static object used to initialize the description of this class. |
Definition at line 20 of file WeizsackerWilliamsPDF.h.
virtual double ThePEG::WeizsackerWilliamsPDF::xfl | ( | tcPDPtr | particle, | |
tcPDPtr | parton, | |||
Energy2 | partonScale, | |||
double | l, | |||
Energy2 | particleScale = ZERO | |||
) | const [virtual] |
The density.
Return the pdf for the given parton inside the given particle for the virtuality partonScale and logarithmic momentum fraction l . The particle is assumed to have a virtuality particleScale.
Reimplemented from ThePEG::PDFBase.
virtual double ThePEG::WeizsackerWilliamsPDF::xfvl | ( | tcPDPtr | particle, | |
tcPDPtr | parton, | |||
Energy2 | partonScale, | |||
double | l, | |||
Energy2 | particleScale = ZERO | |||
) | const [virtual] |
The valence density.
Return the pdf for the given cvalence parton inside the given particle for the virtuality partonScale and logarithmic momentum fraction l . The particle is assumed to have a virtuality particleScale. If not overidden by a sub class this will return zero.
Reimplemented from ThePEG::PDFBase.
virtual double ThePEG::WeizsackerWilliamsPDF::flattenScale | ( | tcPDPtr | particle, | |
tcPDPtr | parton, | |||
const PDFCuts & | cut, | |||
double | l, | |||
double | z, | |||
double & | jacobian | |||
) | const [virtual] |
Generate scale (as a fraction of the maximum scale).
If the PDF contains strange peaks which can be difficult to handle, this function may be overwritten to return an appropriate scale for a z uniformly distributed in ]0,1[. Also the jacobobian of the variable transformation must multiply the jacobian argument. The default version will simply use the function or, if is zero, (where the limits are set by cut).
Reimplemented from ThePEG::PDFBase.
virtual double ThePEG::WeizsackerWilliamsPDF::flattenL | ( | tcPDPtr | particle, | |
tcPDPtr | parton, | |||
const PDFCuts & | cut, | |||
double | z, | |||
double & | jacobian | |||
) | const [virtual] |
Generate a momentum fraction.
If the PDF contains strange peaks which can be difficult to handle, this function may be overwritten to return an appropriate for a z uniformly distributed in ]0,1[. Also the jacobobian of the variable transformation must in the function multiply the jacobian argument. The default version will simply use the function (where the limits are set by cut).
Reimplemented from ThePEG::PDFBase.
void ThePEG::WeizsackerWilliamsPDF::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::PDFBase.
void ThePEG::WeizsackerWilliamsPDF::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::PDFBase.
static void ThePEG::WeizsackerWilliamsPDF::Init | ( | ) | [static] |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
Reimplemented from ThePEG::PDFBase.
virtual IBPtr ThePEG::WeizsackerWilliamsPDF::clone | ( | ) | const [inline, protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
Definition at line 127 of file WeizsackerWilliamsPDF.h.
References ThePEG::Pointer::new_ptr().
virtual IBPtr ThePEG::WeizsackerWilliamsPDF::fullclone | ( | ) | const [inline, protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
Definition at line 133 of file WeizsackerWilliamsPDF.h.
References ThePEG::Pointer::new_ptr().
WeizsackerWilliamsPDF& ThePEG::WeizsackerWilliamsPDF::operator= | ( | const WeizsackerWilliamsPDF & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
ClassDescription<WeizsackerWilliamsPDF> ThePEG::WeizsackerWilliamsPDF::initWeizsackerWilliamsPDF [static, private] |
The static object used to initialize the description of this class.
Indicates that this is an concrete class without persistent data.
Definition at line 142 of file WeizsackerWilliamsPDF.h.