Prerequisites
- LARDON installed via Pixi (see Installation)
- Environment variables configured (see Environment Setup)
- Access to a raw HDF5 data file on CERN lxplus, FNAL, or locally
Source the environment
Set the required environment variables by sourcing the setup script from the lardon repository root:This sets
LARDON_PATH, LARDON_RECO, and LARDON_PLOT relative to your current directory.Activate the environment
You can run LARDON in two ways:
- Direct run (recommended)
- Activate shell
Use
pixi run to execute LARDON in the managed environment without activating it:Example commands
Single-event TPC reconstruction (PDVD)
Reconstruct event 11 from PDVD run 39229, subfile 24:$LARDON_RECO/pdvd_39229_24_40_s5_one_event.h5
All-events TPC reconstruction (PDVD)
Reconstruct all events from PDVD run 39246, subfile 6:$LARDON_RECO/pdvd_39246_6_full_example.h5
First 10 events from a Coldbox run
$LARDON_RECO/cbbot_37040_23_few_events.h5
TPC and PDS reconstruction via XRootD
Reconstruct events 5 and 6 with both TPC and PDS from a remote file:When using
-file with an XRootD path, LARDON extracts the run number, subfile, detector, dataflow, and writer from the filename automatically. Make sure the XRootD lines are uncommented in set_lardon.sh before using this method.Output file naming convention
Output files follow this pattern:flow_writer_suffix is appended only when a non-default dataflow/datawriter/server combination is used. See Output Files for the full HDF5 schema.
Next steps
Command Reference
Full documentation of every CLI flag and its default value.
Reconstruction Pipeline
How LARDON processes raw data from signal to track.
Configuration
Configure environment variables and detector settings.
Control Plots
Generate event displays and noise plots during reconstruction.