feynlag.pheno.scattering_calculator

2→2 cross sections straight from a feynlag model (Tier 3).

ScatteringCalculator is the scattering counterpart of DecayCalculator: it extracts the three-leg vertices once (collect_decay_vertices(), with the P_L/P_R split and the DiracParticle merge already done), and ScatteringCalculator.process() enumerates every tree diagram of a four-fermion process (enumerate_diagrams()) and returns a ScatteringProcess whose |M|² sums them with interference (squared()).

Scope, enforced rather than documented only:

  • external fermions are declared DiracParticles; a process is either four fermions, or two fermions and two bosons (Tier 4): fermion exchange (e⁺e⁻→γγ, e⁺e⁻→ZZ, Compton) and boson exchange through a VVV/VVS/VSS/SSS vertex (e⁺e⁻→W⁺W⁻, e⁺e⁻→Zh, e⁺e⁻→φ⁺φ⁻). The triple-gauge vertices are only collected when gauge_groups is given; a charged external vector without them raises rather than returning the fermion-exchange diagrams alone;

  • coloured fermions in four-fermion processes (Tier 5, stage 5a): pass colour_group and gluon, and declare a quark as a DiracParticle on one colour component with color=N_c. The gluon becomes one mediator (calc.gluon) with a colour-stripped coupling, and the colour factors come from colour. With two external gauge bosons on a quark line (stage 5b: q q̄→gg, qg→qg, gg→q q̄, q q̄→gγ) the external gluon is calc.gluon, the ggg vertex is added, and two external gluons are summed over their physical polarizations. Four external gluons (stage 5c, gg→gg) go through the pure-boson amplitude of boson: three exchange diagrams and the gggg contact vertex, all four gluons on physical polarization sums. Any other four-boson process raises;

  • mediators are the declared bosons in unitary gauge: leave Goldstones out of boson_fields (a massive vector’s propagator already carries their physics as q_μq_ν/m²).

Classes

ScatteringCalculator(model, particles, masses)

Tree-level 2→2 four-fermion cross sections for a built model.

ScatteringProcess(externals, kinematics, ...)

One 2→2 process: its diagrams, Σ|M|² and cross sections.