The FAST-HEP workshop contains the runnable tutorials, examples, and training material for FAST-HEP.
The tutorials are organised as a progressive analysis journey. The first part reaches a small complete analysis: it reads data, derives and selects quantities, creates histograms and cutflows, and renders the results. Later material extends that working analysis with saved datasets, provenance, systematics, workflow organisation, distributed execution, and other advanced concerns.
Runnable tutorials combine:
The workshop uses reproducible Pixi environments, so examples can be run without assembling the FAST-HEP packages individually.
Sections below are labelled runnable, infrastructure-dependent, or planned. A planned advanced section does not make the earlier analysis incomplete.
Status: runnable.
Begin with a small end-to-end analysis to see how the pieces fit together before exploring them individually.
The first workflow introduces the basic pattern:
flowchart LR
Source["<b>Source</b><br/>read data"]:::source
Transform["<b>Transform</b><br/>compute quantities"]:::transform
Hist["<b>Transform</b><br/>aggregate"]:::transform
Sink["<b>Sink</b><br/>render result"]:::sink
Source --> Transform --> Hist --> Sink
classDef input fill:#f7f7f7,stroke:#5f6368,stroke-width:2px,color:#111111;
classDef flow fill:#e8f0fe,stroke:#3c6fbd,stroke-width:2px,color:#111111;
classDef source fill:#e7f5ff,stroke:#1c7ed6,stroke-width:2px,color:#111111;
classDef transform fill:#fff9db,stroke:#f08c00,stroke-width:2px,color:#111111;
classDef sink fill:#ebfbee,stroke:#2f9e44,stroke-width:2px,color:#111111;
classDef artifact fill:#eadcf8,stroke:#7950a3,stroke-width:2px,color:#111111;
classDef runtime fill:#fce8d5,stroke:#b56b22,stroke-width:2px,color:#111111;
classDef capability fill:#f7f7f7,stroke:#5f6368,stroke-width:2px,color:#111111;
It also introduces the logical graph, execution plan, and artifacts that Flow produces alongside the scientific result.
Start with the workshop overview →
Status: runnable. Remote-data lessons require network access for the input files.
Learn how FAST-HEP introduces data into a workflow.
Topics include:
This section establishes the data sources and event streams used by the rest of the analysis.
Status: runnable.
Build the scientific content of the analysis.
Topics include:
These tutorials show how operations enrich and transform event streams while Flow derives the required data dependencies during compilation.
Status: runnable. This completes the first small analysis.
Turn processed event data into analysis products.
Topics include:
The tutorials also expose selected generated artifacts, making it possible to see how the declarative description maps onto the outputs produced by FAST-HEP.
Status: runnable.
Learn how workflows can produce reusable datasets as well as final plots and summaries.
Topics include:
This is particularly useful for workflows where one processing stage produces reduced data for later analysis.
Status: runnable for the current systematics and workflow-organisation lessons.
Once the basic operations are familiar, the workshop introduces features needed by larger analyses:
These sections focus on keeping increasingly complex analyses understandable and composable.
Status: partly runnable and infrastructure-dependent.
The later tutorials explore how the same workflow model can be used with different execution capabilities.
Current material includes local Dask and Dask-to-HTCondor execution. The HTCondor path requires a configured site environment; it has been exercised successfully through Flow at CERN lxplus.
Developing topics include:
These parts of the workshop are evolving alongside the corresponding FAST-HEP implementations.
Status: planned as a step-by-step Workshop section.
FAST-HEP is designed around replaceable capabilities.
The planned extension tutorials will show how projects and analyses can provide their own:
using the same interfaces as the standard FAST-HEP packages. Until those lessons are complete, the Flow extension documentation is the authoritative guide to the available seams.
This is the recommended route for experiment-specific and analysis-specific functionality.
Status: the learning path already produces a small end-to-end analysis; larger complete case studies are planned.
The existing tutorials combine the core concepts into a working analysis. Future complete examples will show how the same pieces scale into larger, domain-specific repositories without replacing the focused lessons.
flowchart TD
Data["<b>Datasets</b>"]:::source
Operations["<b>Analysis operations</b><br/>selections + systematics"]:::transform
Products["<b>Scientific products</b><br/>histograms + datasets"]:::transform
Rendering["<b>Rendering</b><br/>plots + reports"]:::sink
Provenance["<b>Provenance</b><br/>software + execution record"]:::observer
Data --> Operations --> Products --> Rendering
Operations -.-> Provenance
Products -.-> Provenance
classDef input fill:#f7f7f7,stroke:#5f6368,stroke-width:2px,color:#111111;
classDef flow fill:#e8f0fe,stroke:#3c6fbd,stroke-width:2px,color:#111111;
classDef source fill:#e7f5ff,stroke:#1c7ed6,stroke-width:2px,color:#111111;
classDef transform fill:#fff9db,stroke:#f08c00,stroke-width:2px,color:#111111;
classDef sink fill:#ebfbee,stroke:#2f9e44,stroke-width:2px,color:#111111;
classDef artifact fill:#eadcf8,stroke:#7950a3,stroke-width:2px,color:#111111;
classDef runtime fill:#fce8d5,stroke:#b56b22,stroke-width:2px,color:#111111;
classDef capability fill:#f7f7f7,stroke:#5f6368,stroke-width:2px,color:#111111;
In addition to the guided tutorials, the workshop contains standalone examples that are useful as references when developing your own analyses.
The CMS Open Data dimuon analysis used in Getting started is one such example.
The workshop repository is the canonical source for these workflows so that examples do not need to be duplicated across the documentation.
The workshop is the best place to learn FAST-HEP by doing; these project-level docs explain the architecture and concepts behind those examples.
Workshop documentation · GitHub repository
The workshop is being updated alongside the current FAST-HEP rewrite. The core path through a small complete analysis is runnable, as are several later lessons on saved data, systematics, and workflow organisation. Distributed lessons depend on the available infrastructure. Accelerator, custom-extension, and larger complete case-study sections are still being developed.