xrootd, numba, h5py, and other packages.
Supported platforms: linux-64, osx-64
Install Pixi
Run the Pixi installer script:After installation, restart your shell or follow the instructions printed by the installer to update your
PATH.Clone the repository and install dependencies
Clone the LARDON repository and install all environments:The
-a flag installs all defined environments at once. This may take a few minutes on the first run.Understand the available environments
The
The
pixi.toml file defines three environments:| Environment | Contents | Recommended use |
|---|---|---|
prod | Minimal — only the libraries required to run LARDON | Submitting batch jobs |
test | prod + debugging and test tools | Development and validation |
default | test + analysis libraries (IPython, uproot, bokeh, iminuit, etc.) | Interactive analysis |
default environment is used when no environment is explicitly specified.Activate LARDON
There are two ways to run LARDON after installation:Option A — run directly via Pixi (no activation needed):Option B — activate the environment in your current shell, then run as a normal command:To use a specific environment (for example
prod), pass the -e flag:Configure environment variables
LARDON requires three environment variables to locate source data and store outputs. Review and edit The script sets:
By default,
set_lardon.sh in the repository root, then source it:| Variable | Purpose |
|---|---|
LARDON_PATH | Path to the LARDON source code (src/lardon) |
LARDON_RECO | Directory where reconstructed HDF5 output files are written |
LARDON_PLOT | Directory where control plots are saved |
LARDON_RECO is set to $PWD/reco and LARDON_PLOT to $PWD/plots. Adjust these paths for your setup before running.To open files stored outside of CERN or Fermilab via XRootD, uncomment the two
xroot lines in set_lardon.sh and ensure your JIRA/rucio authentication is configured.