feynlag.pheno.scattering_calculator.ScatteringCalculator

class feynlag.pheno.scattering_calculator.ScatteringCalculator(model, particles, masses, widths=None, boson_fields=(), fermion_sectors=('gauge',), conjugate_map=None, conjugates=None, parameters=None, gauge_groups=None, colour_group=None, gluon=None, aliases=None)[source]

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

Parameters:
  • model – a Model in its physical basis.

  • particles – DiracParticle list — the external fermions (and any fermion you want resolvable).

  • masses – {boson: mass} for every mediator. An undeclared mediator raises KeyError instead of silently becoming massless.

  • widths – {boson: Γ} (Breit–Wigner widths); absent means 0.

  • boson_fields – the physical boson symbols to extract vertices over.

  • fermion_sectors – Lagrangian sectors with fermion bilinears.

  • conjugate_map – passed through to the bosonic extractor.

  • conjugates – {boson: antiboson} for charged mediators, e.g. {Wp: Wm, Wm: Wp}; unlisted bosons are self-conjugate.

  • parameters – optional ParameterSet for numeric evaluation (process(..., numeric=True)).

  • gauge_groups – the broken non-abelian groups whose triple-gauge (VVV) vertices to collect through gauge_vertices(), e.g. [SU2L] — needed for e⁺e⁻→W⁺W⁻. An unbroken group (colour) must not be listed.

  • colour_group – the unbroken colour group (e.g. SU3c), needed for coloured external fermions.

  • gluon – its GaugeBoson field. The calculator extracts over its components itself and exposes one mediator symbol, gluon; do not list the components in boson_fields.

  • aliases – {name: symbol} extra names for process() strings ({"e-": e.particle, "e+": e.antiparticle}), matched case-insensitively; symbol names (e, ebar, Wp) always work (ParticleNames).

__init__(model, particles, masses, widths=None, boson_fields=(), fermion_sectors=('gauge',), conjugate_map=None, conjugates=None, parameters=None, gauge_groups=None, colour_group=None, gluon=None, aliases=None)[source]

Methods

__init__(model, particles, masses[, widths, ...])

colour_rep(particle)

The colour-group rep label of a declared species (None for a colour singlet), read from the model field owning its left leg.

from_model(model[, particles, point, ...])

A calculator set up from what model already knows.

mass_of(boson)

particle_names()

{name: symbol} of every name process() accepts.

process(incoming[, outgoing, numeric, ...])

The 2→2 process incoming → outgoing.

values([extra, point])

{symbol: number} from parameters (or point, which replaces it for this call) plus extra.

vertices()

All three-leg vertices, extracted once and cached: the extractor's (collect_decay_vertices()) plus, with gauge_groups, the triple-gauge ones.

width_of(boson)

Attributes

gluon

the single gluon mediator symbol (None without a colour group)