Skip to content

getting started quickstart

github-actions[bot] edited this page Sep 30, 2026 · 26 revisions

This page is generated from docs/getting-started/quickstart.md. Do not edit it directly; change the repository source and let automation publish the Wiki.

Quickstart

All commands below start at the repository root. run.csh is a tcsh/csh workflow entry point; source it from a compatible shell. Examples intentionally use small event counts.

Build

cmake \
    -S . \
    -B build/debug \
    -G "Unix Makefiles" \
    -DCMAKE_BUILD_TYPE=Debug
cmake \
    --build build/debug \
    --parallel 4

Create a small uniform sample

source run.csh \
    --workflow create-lund \
    --source uniform \
    --config config/samples/uniform-lund-creation/uniform-1e-5986MeV.conf \
    --events 100 \
    --output runs/quickstart

The completed run is runs/quickstart/Uniform__1e__5986MeV/. Generation replaces that resolved run directory if it already exists.

Convert existing physical truth

source run.csh \
    --workflow create-lund \
    --source physical \
    --config config/samples/physical-lund-creation/genie-gst.conf \
    --input '/path/to/gst*.root' \
    --events 100 \
    --output runs/quickstart

Quote a glob so ROOT receives it unchanged. This command converts existing GENIE GST truth; it does not run GENIE.

Preview ifarm submission

After either creation command completes, preview the detector job without submitting it:

source run.csh \
    --workflow submit \
    --lund-dir /absolute/path/to/completed-run/lundfiles \
    --num-jobs 2

Preview validates the manifest, detector inputs, software environment, and resulting sbatch command. Add --execute only after reviewing the resolved report. See the submission examples.

Clone this wiki locally