|
ManeParse: A Mathematica Interface to the PDFs
ManeParse is a modular Mathematica package that provides access to PDFs for hadronic calculations. It allows for parsing of .pds and LHAPDF6 files and estimates PDF errors for Hessian and MC releases.
ManeParse Publication:
Download the publication here:
ManeParse version 5.0, Mathematica package:
An SIMPLE example using LHAPDF Tables for PDFs:
This is an self-contained example that reads
PDF tables in LHAPDF format.
PDF_DEMO_v01.zip
(850Kb, Version April 2021).
Includes PDF Grid files needed for demo.
A SIMPLE example using Structure Function Tables:
This is an self-contained example that reads
Structure Function tables in LHAPDF format.
SF_DEMO_v01.zip
(1.5Mb, Version April 2021).
Includes Structure Function Grid files needed for demo.
Thanks to Tim Hobbs for supplying the sample tables.
A SIMPLE example using xFitter and GRVPi1 Pion PDF Tables:
This is an self-contained example that reads
Pion PDF tables in LHAPDF format.
PION_DEMO.zip
(13Mb, Version April 2021).
Includes Grid files needed for demo.
Thanks to Ivan Novikov for supplying the sample tables.
A longer (more complex) example using LHAPDF Tables for PDFs:
This is an self-contained example that reads
PDF tables in LHAPDF format.
ManeParse5_Demo.zip
(65Mb, Version April 2021).
Includes PDF Grid files needed for demo.
EIC EXAMPLES:
An example that reads nCTEQ Structure Function grids used in EIC
Yellow Report study.
This is an self-contained example that reads
Structure Function tables in LHAPDF format.
EIC_SF_demo.zip
(39Mb, Version April 2021).
Includes Grid files needed for demo.
KNOWN ISSUES: ManeParse version 5.0, Mathematica package:
- Known issues:
- Note:
When parsing the xxx.info file MMA reads a line at a time.
Thus a \cr in a field (such as SetDesc:) will case confusion.
This happens in RARE cases such as HERAPDF20_NLO_VAR.
The solution is just to remove the \cr in SetDesc: in the xxx.info file
- In certain instances, the alpha-S routines may break and return an infinite loop.
This can be fixed by calling a pdfReset[] before loading the PDF sets.
NEW FEATURES: ManeParse Mathematica package:
- New Features:
- pdfFunctionX[]: (Vers.4.0+)
This function returns the interpolated value of the x*PDF.
As the LHAPDF grids store x*PDF, this does a straight interpolation
of the grid, in constrast to the pdfFunction[] function which divides by x.
This function is particularly useful for Structure Function tables
which can be interpolated directly.
- Parsing of xxx.info file: (Vers.5.0+)
Starting in V5.0, the parsing of the info files was simplified.
This will no longer get confused by unmatched single or double quotes
in "SetDesc:" strings. HOWEVER, it will get confused if a field is
split over multiple lines with \cr. The solution is to simply remove
the \cr in the info file. This happens rarely.
-----------------------------------------------------------------------------------------------------------------------------
for comments or requests contact F.Olness olness@smu.edu
|