thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::PDF Class Reference

PDF is a simple wrapper class with normal copy-semantics which holds a PDFBase object and a ParticleData object for which to determine parton densities. More...

#include <PDF.h>

Public Member Functions

Standard constructors, assignment and destructors.
 PDF ()
 Default constructor.
 
 PDF (tcPBIPtr pb)
 Constructor from a given PartonBinInstance.
 
 PDF (tcPDFPtr pdf, tcPDPtr pd)
 Constructor from a given PDFBase and ParticleData object.
 

Access the parton densities.

tcPDFPtr thePDF
 The parton density object.
 
tcPDPtr theParticle
 The particle for which the parton density is used.
 
double xfl (tcPPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 Return the density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.
 
double xfx (tcPPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 Return the density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.
 
double xfvl (tcPPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 Return the valence density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.
 
double xfvx (tcPPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 Return the valence density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.
 
double xfl (tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 Return the density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.
 
double xfx (tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 Return the density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.
 
double xfvl (tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 Return the valence density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.
 
double xfvx (tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 Return the valence density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.
 
tcPDFPtr pdf () const
 The parton density object.
 
tcPDPtr particle () const
 The particle for which the parton density is used.
 
bool operator== (const PDF &x) const
 Compare for equality.
 
bool operator< (const PDF &x) const
 Compare for ordering.
 

Detailed Description

PDF is a simple wrapper class with normal copy-semantics which holds a PDFBase object and a ParticleData object for which to determine parton densities.

Definition at line 22 of file PDF.h.

Constructor & Destructor Documentation

◆ PDF() [1/3]

ThePEG::PDF::PDF ( )
inline

Default constructor.

Definition at line 31 of file PDF.h.

◆ PDF() [2/3]

ThePEG::PDF::PDF ( tcPBIPtr  pb)
inline

Constructor from a given PartonBinInstance.

Definition at line 36 of file PDF.h.

References theParticle, and thePDF.

◆ PDF() [3/3]

ThePEG::PDF::PDF ( tcPDFPtr  pdf,
tcPDPtr  pd 
)
inline

Constructor from a given PDFBase and ParticleData object.

Definition at line 45 of file PDF.h.

Member Function Documentation

◆ operator<()

bool ThePEG::PDF::operator< ( const PDF x) const
inline

Compare for ordering.

Definition at line 161 of file PDF.h.

References particle(), and pdf().

◆ operator==()

bool ThePEG::PDF::operator== ( const PDF x) const
inline

Compare for equality.

Definition at line 152 of file PDF.h.

References particle(), and pdf().

◆ particle()

tcPDPtr ThePEG::PDF::particle ( ) const
inline

The particle for which the parton density is used.

Definition at line 147 of file PDF.h.

References theParticle.

Referenced by operator<(), and operator==().

◆ pdf()

tcPDFPtr ThePEG::PDF::pdf ( ) const
inline

The parton density object.

Definition at line 142 of file PDF.h.

References thePDF.

Referenced by operator<(), and operator==().

◆ xfl() [1/2]

double ThePEG::PDF::xfl ( tcPDPtr  parton,
Energy2  partonScale,
double  l,
Energy2  particleScale = ZERO 
) const
inline

Return the density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.

Definition at line 98 of file PDF.h.

References theParticle, and thePDF.

◆ xfl() [2/2]

double ThePEG::PDF::xfl ( tcPPtr  parton,
Energy2  partonScale,
double  l,
Energy2  particleScale = ZERO 
) const
inline

Return the density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.

Definition at line 58 of file PDF.h.

References xfl().

Referenced by xfl().

◆ xfvl() [1/2]

double ThePEG::PDF::xfvl ( tcPDPtr  parton,
Energy2  partonScale,
double  l,
Energy2  particleScale = ZERO 
) const
inline

Return the valence density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.

Definition at line 120 of file PDF.h.

References theParticle, and thePDF.

◆ xfvl() [2/2]

double ThePEG::PDF::xfvl ( tcPPtr  parton,
Energy2  partonScale,
double  l,
Energy2  particleScale = ZERO 
) const
inline

Return the valence density for the given parton, for a given partonScale and logarithmic momentum fraction l assuming the particle has a virtuality particleScale.

Definition at line 78 of file PDF.h.

References xfvl().

Referenced by xfvl().

◆ xfvx() [1/2]

double ThePEG::PDF::xfvx ( tcPDPtr  parton,
Energy2  partonScale,
double  x,
double  eps = 0.0,
Energy2  particleScale = ZERO 
) const
inline

Return the valence density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.

Definition at line 131 of file PDF.h.

References theParticle, and thePDF.

◆ xfvx() [2/2]

double ThePEG::PDF::xfvx ( tcPPtr  parton,
Energy2  partonScale,
double  x,
double  eps = 0.0,
Energy2  particleScale = ZERO 
) const
inline

Return the valence density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.

Definition at line 88 of file PDF.h.

References xfvx().

Referenced by xfvx().

◆ xfx() [1/2]

double ThePEG::PDF::xfx ( tcPDPtr  parton,
Energy2  partonScale,
double  x,
double  eps = 0.0,
Energy2  particleScale = ZERO 
) const
inline

Return the density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.

Definition at line 109 of file PDF.h.

References theParticle, and thePDF.

◆ xfx() [2/2]

double ThePEG::PDF::xfx ( tcPPtr  parton,
Energy2  partonScale,
double  x,
double  eps = 0.0,
Energy2  particleScale = ZERO 
) const
inline

Return the density for the given parton, for a given partonScale and momentum fraction x assuming the particle has a virtuality particleScale.

Definition at line 68 of file PDF.h.

References xfx().

Referenced by xfx().

Member Data Documentation

◆ theParticle

tcPDPtr ThePEG::PDF::theParticle
private

The particle for which the parton density is used.

Definition at line 178 of file PDF.h.

Referenced by particle(), PDF(), xfl(), xfvl(), xfvx(), and xfx().

◆ thePDF

tcPDFPtr ThePEG::PDF::thePDF
private

The parton density object.

Definition at line 173 of file PDF.h.

Referenced by pdf(), PDF(), xfl(), xfvl(), xfvx(), and xfx().


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