ThePEG  1.8.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ThePEG::BudnevPDF Class Reference

Here is the documentation of the BudnevPDF class. More...

#include <BudnevPDF.h>

Inheritance diagram for ThePEG::BudnevPDF:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BudnevPDF ()
 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.
- Public Member Functions inherited from ThePEG::PDFBase
tcRemHPtr remnantHandler () const
 Pointer to the remnant handler to handle remnant when extracting partons according to these densities.
 PDFBase ()
 Default constructor.
 PDFBase (const PDFBase &)
 Copy-constructor.
virtual ~PDFBase ()
 Destructor.
virtual bool canHandle (tcPDPtr particle) const
 Return true if canHandleParticle() and if the corresponding method for remnantHandler() returns true for the given particle.
virtual bool hasPoleIn1 (tcPDPtr particle, tcPDPtr parton) const
 Return true if this PDF has a pole at $x=1$ for the given particle and parton.
virtual double xfx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The density.
virtual double xfvx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The valence density.
virtual double xfsl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 The sea density.
virtual double xfsx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The sea density.

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.
- Protected Member Functions inherited from ThePEG::PDFBase
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.

Private Member Functions

BudnevPDFoperator= (const BudnevPDF &)
 The assignment operator is private and must never be called.
double gm2 (Energy2 q2) const
 Helper function for magnetic a electric form factors in Budnev flux.
double ge2 (Energy2 q2) const
 Helper function for magnetic a electric form factors in Budnev flux.

Private Attributes

Energy2 _q2min
 Minimum $Q^2$ for the photon.
Energy2 _q2max
 Maximum $Q^2$ for the photon.
const Energy2 _q02
 Fitted scale $Q{_0}{^2}=0.71GeV^2$.
const double _mup2
 Magenetic moment of the proton $ \mu_{p}^2 = 7.78$.

Static Private Attributes

static ClassDescription
< BudnevPDF
initBudnevPDF
 The static object used to initialize the description of this class.

Additional Inherited Members

- Protected Types inherited from ThePEG::PDFBase
enum  RangeException { rangeFreeze, rangeZero, rangeThrow }
 Indicate how to deal with x and Q2 which are out of range. More...
- Protected Attributes inherited from ThePEG::PDFBase
RemHPtr theRemnantHandler
 A remnant handler which can generate remnants for the parton extracted withfor this PDF.
RangeException rangeException
 Indicate to subclasses how to deal with x and Q2 which are out of range.

Detailed Description

Here is the documentation of the BudnevPDF class.

See also:
The interfaces defined for BudnevPDF.

Definition at line 20 of file BudnevPDF.h.


Member Function Documentation

virtual IBPtr ThePEG::BudnevPDF::clone ( ) const
inlineprotectedvirtual

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Definition at line 129 of file BudnevPDF.h.

References ThePEG::Pointer::new_ptr().

virtual double ThePEG::BudnevPDF::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 $l=\log(1/x)$ for a z uniformly distributed in ]0,1[. Also the jacobobian of the $l\rightarrow z$ variable transformation must in the function multiply the jacobian argument. The default version will simply use the function $l(z) = l_{\min} + z*(l_{\max}-l_{\min})$ (where the limits are set by cut).

Reimplemented from ThePEG::PDFBase.

virtual double ThePEG::BudnevPDF::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 $Q^2/Q^2_{\max}$ for a z uniformly distributed in ]0,1[. Also the jacobobian of the $Q^2/Q^2_{\max}\rightarrow z$ variable transformation must multiply the jacobian argument. The default version will simply use the function $Q^2/Q^2_{\max} = (Q^2_{\max}/Q^2_{\min})^(z-1)$ or, if $Q^2_{\min}$ is zero, $Q^2/Q^2_{\max} = z$ (where the limits are set by cut).

Reimplemented from ThePEG::PDFBase.

virtual IBPtr ThePEG::BudnevPDF::fullclone ( ) const
inlineprotectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

Definition at line 135 of file BudnevPDF.h.

References ThePEG::Pointer::new_ptr().

static void ThePEG::BudnevPDF::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.

BudnevPDF& ThePEG::BudnevPDF::operator= ( const BudnevPDF )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

void ThePEG::BudnevPDF::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from ThePEG::PDFBase.

void ThePEG::BudnevPDF::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::PDFBase.

virtual double ThePEG::BudnevPDF::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 $(l=\log(1/x)$. The particle is assumed to have a virtuality particleScale.

Reimplemented from ThePEG::PDFBase.

virtual double ThePEG::BudnevPDF::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 $(l=\log(1/x)$. The particle is assumed to have a virtuality particleScale. If not overidden by a sub class this will return zero.

Reimplemented from ThePEG::PDFBase.


Member Data Documentation

ClassDescription<BudnevPDF> ThePEG::BudnevPDF::initBudnevPDF
staticprivate

The static object used to initialize the description of this class.

Indicates that this is an concrete class without persistent data.

Definition at line 144 of file BudnevPDF.h.


The documentation for this class was generated from the following file: