NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

APFEL Web: a web-based application for the graphical visualization of parton distribution functions

Stefano Carrazza, Alfio Ferrara, Daniele Palazzo, Juan RojoJournal of Physics G Nuclear and Particle Physics 2015 · DOI

Abstract

We present APFEL Web, a web-based application designed to provide a flexible user-friendly tool for the graphical visualization of parton distribution functions (PDFs). In this note we describe the technical design of the APFEL Web application, motivating the choices and the framework used for the development of this project. We document the basic usage of APFEL Web and show how it can be used to provide useful input for a variety of collider phenomenological studies. Finally we provide some examples showing the output generated by the application.

Introduction

In high-energy physics, Parton Distribution Functions (PDFs) are essential for making theoretical predictions at the Large Hadron Collider (LHC). These functions describe the internal structure of the proton by providing the probability densities of quarks and gluons as a function of the momentum fraction $x$ and the energy scale $Q$.

While libraries like APFEL exist for evolving and visualizing these functions, they often present a significant barrier to entry. Traditional graphical user interfaces (GUIs) require complex local installations involving heavy dependencies such as ROOT, LHAPDF, and the Qt toolkit. Furthermore, maintaining up-to-date PDF data grids across research groups is a persistent challenge. APFEL Web addresses these issues by adopting a Software as a Service (SaaS) model, centralizing calculations and data management to eliminate "dependency hell" for researchers.

System Architecture and Methods

The APFEL Web framework is designed to decouple the user interface from the heavy computational tasks. The architecture is divided into two primary components: the server-side web application and the cluster-side computational engine.

The system architecture of APFEL Web, showing the separation between the Django-based server side and the cluster-side execution environment.

Server-Side

The web interface is built using the Django Python framework, chosen for its robustness and ease of integration. It manages user authentication, job configurations via web forms, and a PostgreSQL database that stores user-specific PDF objects and job metadata.

Cluster-Side

To handle intensive calculations, the web application interfaces with a high-performance computing cluster managed by a Portable Batch System (PBS). The core engine is the apfeldaemon, a C++ program that performs PDF evolution and observable calculations. It leverages the LHAPDF5/6 libraries for standard PDF grids and the ROOT framework for generating high-quality graphical outputs. This asynchronous workflow allows users to submit jobs and retrieve results later from their personal workspace.

Functionality and Results

APFEL Web serves as a gateway to major PDF libraries (LHAPDF5/6) and allows users to upload private grids for preliminary testing. The application supports seven distinct job types, ranging from plotting individual PDF flavors to computing parton luminosities and Deep-Inelastic Scattering (DIS) observables.

Example outputs from APFEL Web, including PDF flavor plots, multi-set comparisons, and gluon-gluon luminosity ratios.

Performance and Adoption

The platform demonstrates high efficiency: standard PDF comparison plots are generated in approximately 2 seconds, while more complex tasks like parton luminosity calculations with full uncertainty treatments take about 1 minute per set. Since its release in late 2014, the tool has seen rapid adoption, registering 76 users from 10 countries and completing over 900 jobs within its first four months.

Conclusion

APFEL Web represents a significant step toward making high-energy physics tools more accessible and standardized. By moving to a centralized web-based model, it ensures that researchers can perform reliable "apples-to-apples" comparisons between different PDF sets without the overhead of local software maintenance. Future developments will focus on expanding the modular framework to include more High Energy Physics (HEP) software tools and enhancing the ability to perform complex PDF convolutions within external codes.

Summary updated

Abstract

We present APFEL Web, a web-based application designed to provide a flexible user-friendly tool for the graphical visualization of parton distribution functions (PDFs). In this note we describe the technical design of the APFEL Web application, motivating the choices and the framework used for the development of this project. We document the basic usage of APFEL Web and show how it can be used to provide useful input for a variety of collider phenomenological studies. Finally we provide some examples showing the output generated by the application.
BibTeX
@article{carrazza2015apfel,
  author = {Stefano Carrazza and Alfio Ferrara and Daniele Palazzo and Juan Rojo},
  title = {{APFEL Web: a web-based application for the graphical visualization of parton distribution functions}},
  journal = {Journal of Physics G Nuclear and Particle Physics},
  year = {2015},
  doi = {10.1088/0954-3899/42/5/057001},
}
Figure