feynlag.pheno.scattering

2→2 differential and total cross sections: averaging + Tier-1 assemblers.

The spin/colour averaging factor lives here — never inside a squared- amplitude function. ffv_squared()’s hardcoded /3 (a decay parent’s polarization average baked into the Lorentz algebra) is exactly the anti-pattern this module avoids: it made that function unusable the moment the vector is internal rather than the parent. Here, squared() always returns the fully spin/colour-summed |M|²; average_factor() computes the averaging denominator from declared ExternalState degrees of freedom, and cross_section()/differential_cross_section() apply it exactly once.

Functions

average_factor(initial)

1/∏ dof over the two initial ExternalStates.

cross_section(m2_summed, kin, initial[, ...])

σ = ∫ dσ/dt dt over t_bounds() (symbolic).

differential_cross_section(m2_summed, kin, ...)

dσ/dt (default) or dσ/dcosθ from the spin/colour-summed |M|².

ffs_s_channel_squared(g_in_left, g_in_right, ...)

Σ|M|² for f₁ f̄₁ → f₂ f̄₂ through one s-channel scalar.

ffv_s_channel_squared(g_in_left, g_in_right, ...)

Σ|M|² for f₁ f̄₁ → f₂ f̄₂ through one s-channel vector.

forward_backward_asymmetry(m2_summed, kin)

A_FB = (σ_F − σ_B)/(σ_F + σ_B) over the cosθ ≷ 0 hemispheres.