|
PYTHIA
8.316
|
Provide interface to the LHAPDF6 library of parton densities. More...
#include <LHAPDF6.h>
Public Member Functions | |
| LHAPDF6 (Pythia *, Settings *settingsPtr, Logger *) | |
| Constructor. | |
| bool | init (int idBeamIn, string setName, int member, Logger *loggerPtr) override |
| Initialization of PDF set. More... | |
| void | setExtrapolate (bool extrapolIn) |
| Allow extrapolation beyond boundaries (not implemented). | |
Public Member Functions inherited from PDF | |
| PDF (int idBeamIn=2212) | |
| Constructor. | |
| virtual | ~PDF () |
| Virtual destructor. | |
| bool | isSetup () |
| Confirm that PDF has been set up (important for LHAPDF and H1 Pomeron). | |
| virtual void | setBeamID (int idBeamIn) |
| Switch to new beam particle identities; for similar hadrons only. | |
| void | resetValenceContent () |
| Set valence content. More... | |
| void | setValenceContent (int idVal1In, int idVal2In, int idVal3In) |
| double | xf (int id, double x, double Q2) |
| Read out parton density. More... | |
| double | xfVal (int id, double x, double Q2) |
| Read out valence and sea part of parton densities. More... | |
| double | xfSea (int id, double x, double Q2) |
| Only sea part of parton densities. More... | |
| virtual double | gammaPDFxDependence (int, double) |
| Approximate photon PDFs by decoupling the scale and x-dependence. | |
| virtual double | gammaPDFRefScale (int) |
| Provide the reference scale for logarithmic Q^2 evolution for photons. | |
| virtual int | sampleGammaValFlavor (double) |
| Sample the valence content for photons. | |
| virtual double | xfIntegratedTotal (double) |
| The total x-integrated PDFs. Relevant for MPIs with photon beams. | |
| virtual double | xGamma () |
| Return the sampled value for x_gamma. | |
| virtual void | xPom (double=-1.0) |
| Keep track of pomeron momentum fraction. | |
| virtual double | xfFlux (int, double, double) |
| Return accurate and approximated photon fluxes and PDFs. | |
| virtual double | xfApprox (int, double, double) |
| virtual double | xfGamma (int, double, double) |
| virtual double | intFluxApprox () |
| virtual bool | hasApproxGammaFlux () |
| virtual double | getXmin () |
| Return the kinematical limits and sample Q2 and x. | |
| virtual double | getXhadr () |
| virtual double | sampleXgamma (double) |
| virtual double | sampleQ2gamma (double) |
| virtual double | fluxQ2dependence (double) |
| virtual double | xfMax (int id, double x, double Q2) |
| Normal PDFs unless gamma inside lepton -> an overestimate for sampling. | |
| virtual double | xfSame (int id, double x, double Q2) |
| Normal PDFs unless gamma inside lepton -> Do not sample x_gamma. | |
| virtual void | setVMDscale (double=1.) |
| Allow for new scaling factor for VMD PDFs. | |
| bool | sSymmetric () const |
| Return if s/sbar, c/cbar, and b/bbar PDFs are symmetric. | |
| bool | cSymmetric () const |
| bool | bSymmetric () const |
| void | sSymmetric (bool sSymmetricIn) |
| Set s/sbar, c/cbar, and b/bbar PDFs symmetric. | |
| void | cSymmetric (bool cSymmetricIn) |
| void | bSymmetric (bool bSymmetricIn) |
Additional Inherited Members | |
Protected Member Functions inherited from PDF | |
| void | printErr (string loc, string errMsg, Logger *loggerPtr=nullptr) |
| Small routine for error printout, depending on loggerPtr existing or not. | |
| double | xfRaw (int id) const |
| Get the raw stored value for the quark variable corresponding to the id. More... | |
| bool | isValence (int id) const |
| Check whether the specified id is a valence quark. | |
Protected Attributes inherited from PDF | |
| int | idBeam |
| Store relevant quantities. | |
| int | idBeamAbs |
| int | idSav |
| int | idVal1 |
| int | idVal2 |
| int | idVal3 |
| double | xSav |
| double | Q2Sav |
| double | xu |
| Stored quantities. | |
| double | xd |
| double | xs |
| double | xubar |
| double | xdbar |
| double | xsbar |
| double | xc |
| double | xb |
| double | xcbar |
| double | xbbar |
| double | xg |
| double | xlepton |
| double | xgamma |
| bool | isSet |
| bool | isInit |
| int | beamType |
| bool | hasGammaInLepton |
| True if a photon beam inside a lepton beam, otherwise set false. | |
| bool | sSymmetricSave = false |
| Whether to treat flavoured PDFs as symmetric, for efficiency. | |
| bool | cSymmetricSave = true |
| bool | bSymmetricSave = true |
Provide interface to the LHAPDF6 library of parton densities.
|
overridevirtual |
Initialization of PDF set.
Initialize a parton density function from LHAPDF6.
Find the PDF set. Note, LHAPDF aborts if the PDF does not exist, which we avoid with this try/catch statement. Ideally, we would check with :LHAPDF::lookupLHAPDFID, but this is not thread safe.
Find the PDF member.
Save x and Q2 limits.
Store quark masses used in PDF fit.
Reimplemented from PDF.
1.8.11