[Paper Review] The Les Houches Accord PDFs (LHAPDF) and Lhaglue
This paper introduces LHAPDF and LHAGLUE, a modern, flexible framework for accessing parton distribution functions (PDFs) in high-energy physics. It enables on-the-fly evolution of PDFs from parameterized forms at low scale, supports multiple error sets, and provides a PDFLIB-compatible interface (LHAGLUE) for seamless integration with Monte Carlo generators like PYTHIA and HERWIG, significantly improving usability and performance over legacy PDFLIB.
We describe the development of the LHAPDF library from its initial implementation following the Les Houches meeting in 2001 to its present state as a functional replacement for PDFLIB. Brief details are given of how to install and use the library together with the PDF sets available. We also describe LHAGLUE, an add-on PDFLIB look-a-like interface to LHAPDF, which facilitates using LHAPDF with existing Monte Carlo generators such as PYTHIA and HERWIG.
Motivation & Objective
- To replace the aging PDFLIB with a more scalable and extensible interface for modern PDF sets.
- To support the growing number of PDF error sets and multi-member PDF collections required for uncertainty quantification.
- To enable efficient, high-precision access to both new and legacy PDF sets without recompilation.
- To provide a drop-in replacement for PDFLIB via the LHAGLUE interface for existing Monte Carlo generators.
- To support photon and pion PDFs alongside proton PDFs, extending the framework's applicability.
Proposed method
- LHAPDF uses analytical parameterizations at a low-scale $Q_0^2$ and evolves them to higher $Q^2$ using built-in evolution codes like QCDNUM and EVLCTEQ.
- It supports two input formats: parameter files (`.LHpdf`) for on-the-fly evolution and grid files (`.LHgrid`) for precomputed interpolation.
- The LHAGLUE interface emulates the PDFLIB subroutine calls, allowing direct integration with PYTHIA and HERWIG without code changes.
- PDF sets are initialized as collections, enabling simultaneous access to multiple members (e.g., error sets) after a single initialization.
- The system includes configurable parameters for statistics, extrapolation, and $α_s$ handling, with options to suppress output or enable detailed logging.
- The framework supports double precision $Λ_{QCD}$ values via a COMMON block, ensuring consistency with PDFLIB.
Experimental results
Research questions
- RQ1How can a modern, extensible interface be designed to handle the increasing complexity and number of PDF sets, including error sets?
- RQ2Can a PDFLIB-compatible interface be built on top of a new PDF access library without requiring changes to existing Monte Carlo generators?
- RQ3What performance improvements can be achieved by separating parameter files from compiled evolution code in a modular library?
- RQ4How can legacy PDF sets be preserved and accessed efficiently alongside new, parameterized PDFs?
- RQ5What is the impact of grid boundary mismatches on PDF accuracy, and how can they be corrected?
Key findings
- LHAPDF V2 and later versions successfully support both parameterized PDFs and precomputed grids, enabling backward compatibility with legacy PDF sets.
- The use of external parameter files and on-the-fly evolution eliminates the need to recompile the library when adding new PDF sets.
- LHAGLUE provides a fully compatible interface to PDFLIB, allowing users to switch to LHAPDF with minimal changes to existing code.
- The initialization time for PDF sets was reduced from ~2 seconds per member (V1) to near-instantaneous when using grid files, solving a major performance bottleneck.
- The framework supports proton, photon, and pion PDFs using identical code, with consistent handling of $α_s$ and $Λ_{QCD}$ values.
- Extensive testing at TEVATRON and LHC energies confirms consistency between LHAPDF, PDFLIB, and internal generator implementations in PYTHIA and HERWIG.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.