gluex-rs

Project

gluex-rs

Tools for GlueX analyses written in Rust and Python.

  • Rust
  • Python
  • GlueX
  • Data analysis

gluex-rs collects tools for GlueX analyses in a single Rust workspace with a unified Python package. It covers shared physics constants and run-period metadata, database access, luminosity calculations, generated-event output, and command-line utilities.

Workspace

Analysis workflow

The Python package can write accepted laddu.GeneratedBatch values to GlueX HDDM. laddu remains responsible for defining reactions, generating events, and performing rejection sampling; gluex-rs handles GlueX particle mapping and HDDM output.

The gluex command-line tool also exposes luminosity calculations and run-period metadata. Luminosity results are emitted as JSON so they can be passed directly into downstream analysis steps.