feynlag.pheno.units

Unit conversions for cross sections and widths, and the η acceptance.

Every calculator returns natural units: a cross section in GeV⁻² and a width in GeV. The conversion to barns uses the PDG conversion constant (ħc)² = 0.389 379 372 1 GeV² mbarn [PDG-PC], exact since the 2019 SI redefinition fixed ħ and c.

Module Attributes

HBARC2_GEV2_MB

(ħc)² in GeV² mb (PDG, "Physical Constants" review; exact)

CROSS_SECTION_UNITS

{unit: factor} turning a GeV⁻² cross section into unit

ENERGY_UNITS

{unit: factor} turning an energy in GeV into unit

Functions

cross_section_in(value_gev2, unit)

A cross section in GeV⁻² converted to unit ('pb', 'fb', 'nb', 'ub', 'mb' or 'GeV-2').

energy_in(value_gev, unit)

An energy (a width, a mass) in GeV converted to unit.

eta_acceptance(eta_max)

The cos θ range of |η| < eta_max: (−tanh η, tanh η).