Home Explore Blog Models CI



nixpkgs

doc/packages/lhapdf.section.md
174866609a7ba60cd7f9f4d629ab1c9955e0a05ce761d548000000030000024e
# LHAPDF {#lhapdf}

[LHAPDF](https://lhapdf.hepforge.org/) is a tool for evaluating parton distribution functions (PDFs) in high-energy physics. LHAPDF is available in the `lhapdf` package.

## PDF sets {#lhapdf-sets}

All of [the PDF sets made available by the LHAPDF project](https://lhapdf.hepforge.org/pdfsets.html) are available through the `lhapdf.pdf_sets` attrset.

### Setup hook {#lhapdf-sets-hook}

Each package provided in the `lhapdf.pdf_sets` attrset contains a setup hook which adds itself to [the `LHAPDF_DATA_PATH` environment variable](https://lhapdf.hepforge.org/#sets).

Chunks
de1d06a4 (1st chunk of `doc/packages/lhapdf.section.md`)
Title: LHAPDF and its PDF Sets
Summary
LHAPDF is a tool used in high-energy physics for evaluating parton distribution functions (PDFs), available via the `lhapdf` package. All PDF sets provided by the LHAPDF project can be accessed through the `lhapdf.pdf_sets` attrset. Each package within this attrset includes a setup hook that automatically adds itself to the `LHAPDF_DATA_PATH` environment variable, making the PDF sets discoverable by LHAPDF.