LHAPDF  6.5.4
Public Member Functions | Private Attributes | List of all members
LHAPDF::Extrapolator Class Referenceabstract

The general interface for extrapolating beyond grid boundaries. More...

#include <Extrapolator.h>

Inheritance diagram for LHAPDF::Extrapolator:
LHAPDF::ContinuationExtrapolator LHAPDF::ErrExtrapolator LHAPDF::NearestPointExtrapolator

Public Member Functions

virtual ~Extrapolator ()
 Destructor to allow inheritance.
 
Binding to a PDF object
void bind (const GridPDF *pdf)
 Bind to a GridPDF.
 
void unbind ()
 Unbind from GridPDF.
 
bool hasPDF ()
 Identify whether this Extrapolator has an associated PDF.
 
const GridPDFpdf () const
 Get the associated GridPDF.
 
Extrapolation methods
double extrapolateXQ (int id, double x, double q) const
 
virtual double extrapolateXQ2 (int id, double x, double q2) const =0
 

Private Attributes

const GridPDF_pdf
 

Detailed Description

The general interface for extrapolating beyond grid boundaries.

Member Function Documentation

◆ extrapolateXQ()

double LHAPDF::Extrapolator::extrapolateXQ ( int  id,
double  x,
double  q 
) const
inline

Extrapolate a single-point in (x,Q)

Parameters
idPDG parton ID
xMomentum fraction
qEnergy scale
Returns
The xf value at (x,q2)

◆ extrapolateXQ2()

virtual double LHAPDF::Extrapolator::extrapolateXQ2 ( int  id,
double  x,
double  q2 
) const
pure virtual

Extrapolate a single-point in (x,Q2)

Parameters
idPDG parton ID
xMomentum fraction
q2Squared energy scale
Returns
The xf value at (x,q2)

Implemented in LHAPDF::NearestPointExtrapolator, LHAPDF::ErrExtrapolator, and LHAPDF::ContinuationExtrapolator.

Member Data Documentation

◆ _pdf

const GridPDF* LHAPDF::Extrapolator::_pdf
private
Todo:
Make an all-PID version of extrapolateQ and Q2?

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