Skip to main content

FAST-HEP Workshop

fasthep-workshop contains tutorials, examples, and complete analysis workflows for the FAST-HEP ecosystem.

The workshop is designed to help users learn the FAST-HEP workflow language step-by-step, from reading ROOT files to running distributed analyses on HTCondor or Slurm.

Getting Started

Clone the repository:

git clone https://github.com/FAST-HEP/fasthep-workshop.git
cd fasthep-workshop

Install Pixi (Recommended)

FAST-HEP tutorials use Pixi to provide reproducible environments.

Follow the Pixi installation instructions:

https://pixi.sh/latest/

Then create the environment:

pixi install

Run commands inside the environment:

pixi run fasthep --help

Alternative: pip

If you prefer not to use Pixi, install the required FAST-HEP packages manually:

pip install \
  fasthep-flow \
  fasthep-carpenter \
  fasthep-curator \
  fasthep-render \
  fasthep-toolbench \
  fasthep-cli \
  fasthep-workshop

Please note that all instructions include pixi run - if you do not use pixi, please exclude this prefix to the commands.

Repository Layout

tutorials/
    Step-by-step learning material

examples/
    Standalone examples and demonstrations

data/
    Example datasets and download manifests

docs/
    Additional documentation

Tutorials

The tutorials are organised as a learning path.

00-overview/
    Introduction to FAST-HEP

01-read-data/
    Reading ROOT files and datasets

02-transform-data/
    Derived quantities and selections

03-summarise-data/
    Histograms and cutflows

04-save-data/
    Skims and outputs

05-systematics/
    Variations and uncertainties

06-organise-workflows/
    Profiles, registries, and modular workflows

07-scale-execution/
    Distributed execution and resource pools

08-accelerators/
    GPU execution

09-extend-fasthep/
    Custom operations and extensions

10-complete/
    End-to-end analysis examples

Start here:

tutorials/00-overview/first-workflow/

Running a Tutorial

Most tutorials contain a dedicated README with instructions.

For example:

pixi run fasthep compile tutorials/00-overview/first-workflow/workflow.yaml

or:

pixi run fasthep run tutorials/00-overview/first-workflow/workflow.yaml

See the tutorial README for expected outputs and explanations.

Expected Tutorial Outputs

Expected tutorial outputs are documentation fixtures, not full build snapshots. They are synced with per-tutorial expected/manifest.yaml files:

pixi run python scripts/sync_expected.py tutorials/03-summarise-data/04-cutflow-tables --build build/tutorials/03-summarise-data/04-cutflow-tables

Manifests copy only curated outputs such as plots, small tables, and compact JSON snippets into expected/.

Example Data

Several tutorials use small CMS datasets based on the classic Z → μμ analysis.

Download the tutorial files:

pixi run fasthep download tutorials/data/CMS/Zmumu/files.json --outdir data

The downloaded files are intentionally small so that tutorials can run on a laptop.

Output Structure

FAST-HEP workflows write outputs into a build directory.

Typical contents include:

build/
├── artifacts/
├── compile/
├── debug/
├── graph/
├── render/
└── reports/
  • compile/ – compiler outputs such as normalized workflows and execution plans
  • graph/ – workflow visualisations
  • render/ – rendering metadata
  • reports/ – structured reports and summaries
  • artifacts/ – user-facing outputs
  • debug/ – backend and runtime diagnostics

Next Steps

After completing the introductory tutorials, explore:

  • distributed execution with HTCondor or Slurm,
  • heterogeneous CPU/GPU worker pools,
  • skimming workflows,
  • complete analysis examples.

📝 The long-term goal is to build fully reproducible public analysis records using FAST-HEP.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasthep_workshop-2026.8.1.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fasthep_workshop-2026.8.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file fasthep_workshop-2026.8.1.tar.gz.

File metadata

  • Download URL: fasthep_workshop-2026.8.1.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fasthep_workshop-2026.8.1.tar.gz
Algorithm Hash digest
SHA256 c4e60942b48012b208e050a350248dc9807366221fb8d805df5a9d106af43f33
MD5 af8c5a8edba1d49cc3d25cddf5dafa1d
BLAKE2b-256 b22e3a04d563f869912b8846bf1fe0c2b5a392fe70bb2adb424c231251b0245a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasthep_workshop-2026.8.1.tar.gz:

Publisher: cd.yml on FAST-HEP/fasthep-workshop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fasthep_workshop-2026.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fasthep_workshop-2026.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd2b787629dfe9c56fd72031e498e016bc1374042d880664f2f6eb4c96c64b3
MD5 0faaa3bf1c986ca3c8a36210455f0482
BLAKE2b-256 8a04b861ce3819b2ecea169c4a2f2b53db9330ed85e0c856f873995328eec730

See more details on using hashes here.

Provenance

The following attestation bundles were made for fasthep_workshop-2026.8.1-py3-none-any.whl:

Publisher: cd.yml on FAST-HEP/fasthep-workshop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page