CascadeDecays.jl

CascadeDecays.jl provides topology-aware routing for sequential decays: it stores a flat binary cascade graph, resolves bracket-addressed propagators and vertices, and maps event-dependent masses and helicity angles into local amplitude building blocks.

Getting started

  1. Define a cascade with DecayTopology.
  2. Attach propagators and vertices with DecayChain.
  3. Build runtime kinematics with DecayChainKinematics or the reusable KinematicTask / KinematicPoint workflow.
  4. Evaluate amplitudes with amplitude(chain, x) (full external-helicity array) or amplitude(..., external_two_λs) (one component). Use amplitude(chain, point) when relative Wigner alignments between topologies are required.

Documentation map

The pages below walk through the package in increasing scope — from internal indices through single-chain integration to multi-channel models and external validation.

TopicPageWhat it covers
Topology and numberingTopology and numberingBracket addresses, line and vertex indices, incidence matrix, propagator routing
Amplitude evaluationAmplitude computationPropagators, vertex couplings H = h × particle-2 phase, aligned chain assembly
Particle-2 phase tutorialWhy do we need the particle-2 phase?A polarized angular distribution that fails when the Jacob–Wick particle-2 phase is omitted
Convention matchingConvention matching across amplitude frameworksForm-factor normalisation, particle-2 phases, angle conventions, and a staged cross-framework validation procedure
Four-vector kinematicsRouting four-vectorsKinematicTask, KinematicPoint, frame conventions, Wigner alignment paths
Single-chain integrationUsing a decay chainEnd-to-end DecayChain walkthrough with a fixed B⁺ → D⁰D⁻π⁺K⁺ event
Multi-channel modelsBuilding a full model for a decayCascadeDecay container, named channels, toy spectra
ThreeBodyDecays: generalGeneral relations and signsSpinful final states, reference-angle phases, and residual signs
ThreeBodyDecays: COMPASSCOMPASS: three-pion meson amplitudesCommon orientation, explicit (13) to (31) angle swap, and reflectivity on the parent spin projection
APIAPI referenceAutogenerated docstrings