Fermi's Forge
Fermi's Forge is a browser-based physics simulation consisting of a particle collider and a nuclear beamline. This page describes what the simulation computes, which of its inputs are taken from measurement, and where it approximates. Every number the program displays is produced by the simulation described here; no result is looked up from a table keyed on the beams selected.
1 · Overview
The program consists of two simulators that share one kinematics module. The particle collider is a small Monte Carlo event generator of the same type as PYTHIA and HERWIG. It is built on the same principles (cross sections from the parton model, Lund string fragmentation and measured decay tables) at roughly one hundredth of their level of detail. The nuclear beamline is a statistical-model reaction code comparable to HIVAP and PACE. It models barrier penetration, compound-nucleus formation, evaporation and fission, and uses evaluated decay data for 3 340 nuclides.
Scope
- Outcomes are not precomputed. The products of a collision are determined by which channels are open at the given √s, the relative probability of each, and random sampling. Two shots with the same beams generally produce different events.
- It is not a detector simulation. The bubble chamber displays the particles the generator produced as they travel through a magnetic field. It performs no reconstruction and has no inefficiency.
- Precision is limited. Rates are calculated at leading order, with one correction factor per process fitted to LHC measurements, and the low-energy hadron physics uses a statistical model from 1950. Results are accurate to roughly a factor of two throughout; Validation gives the size of the deviation wherever a comparison is possible.
2 · Kinematics
The program uses natural units throughout: c = 1, and energy, momentum and mass are all expressed in MeV,
so that a particle's four-momentum obeys . A single
module of pure functions (src/lib/forge/kinematics.ts, unit-tested in
kinematics.test.ts) performs every calculation in this section for both simulators.
Available energy
The energy available for producing new particles is √s, the total energy in the centre-of-mass frame:
Colliding beams provide far more available energy than a fixed target. Two 6.8 TeV beams colliding head-on give √s = 13.6 TeV, whereas a 6.8 TeV beam on protons at rest gives 113 GeV, because most of the energy goes into the motion of the centre of mass. The collider's readout states this whenever a fixed target is selected.
Two-body final states
When √s produces two particles of masses m₃ and m₄, each carries momentum
in the centre-of-mass frame. Products are generated in that frame and boosted to the laboratory frame with
for a fixed target, and for a collider with unequal beams. Final states of three or more bodies are generated with GENBOD (F. James, 1968), which chains two-body decays through random intermediate masses and weights each configuration by the product of their p*.
Thresholds
A channel is open if and only if . For a fixed target, a reaction with Q = (initial − final mass) < 0 requires the projectile to carry a kinetic energy of
The two expressions agree to order Q/m. For nuclear reactions the difference is a few parts in ten thousand: ⁷Li(p,n)⁷Be has Q = −1.644 MeV, and both give the textbook threshold of 1.880 MeV quoted in the nuclear results table. For particle production the difference is large. Producing an antiproton by p p → p p p p̄ has Q = −2mp; the non-relativistic form gives a threshold of 4mp = 3.75 GeV of kinetic energy, while the exact value is 6mp = 5.63 GeV. The Bevatron was designed for 6.2 GeV for this reason. The collider's hints use the exact form, and whether a channel is open is always decided by √s.
3 · Shots
For the selected beams, the program lists every process open at that √s together with its cross section σk; processes include elastic scattering, string fragmentation and Z production. Each collision selects process k with probability σk / Σσ, so a shot of N collisions is divided among processes according to a multinomial distribution. This is the source of the "per collision" column; Higgs production at LHC energies, for example, is shown as "1 in 2.2 billion".
Every process that occurred is then simulated in full, including the hard scatter, the strings, every decay down to stable particles, and photon conversions in the chamber. As many collisions are simulated as fit in about 0.7 s, and the remainder are counted by scaling. Shots are limited to 1 000 collisions in the game and to 10¹² in the sandbox.
The collision that is drawn is chosen as a trigger would choose it. Collisions are ranked first by the Standard Model chart entries they would reveal for the first time, weighted by the particle's mass (so that a Higgs ranks above an electron); then by the heaviest particle not yet observed; then by whether the final state is anything other than textbook QED or entirely invisible; and finally by rarity. In the sandbox, where nothing can be newly discovered, the ranking reduces to mass and rarity.
4 · Hadron collisions
Total cross section
Above √s = 5 GeV the total cross section is the Particle Data Group's Regge-form fit,
with the pp, πp and Kp coefficients. The sign is determined by the number of valence quark–antiquark pairs that could annihilate, and meson–meson pairs are scaled by the additive quark model factor of 2/3. Below 5 GeV, smooth low-energy parametrisations are used: the elastic cross section rises at low energy, and the inelastic cross section turns on at the lightest open channel, with a 1/v rise for exothermic channels such as p̄p annihilation.
Resonances
Where the pair can fuse into a single short-lived hadron R (for example π⁺p → Δ⁺⁺, π⁺π⁻ → ρ⁰ or K⁺K⁻ → φ), formation of R is a process with cross section
This gives 189 mb at the Δ peak, compared with a measured value of about 200 mb. The Δ peak is the resonance observed by Fermi's group in 1952.
Near threshold: Fermi's statistical model
Below 1.2 GeV of kinetic energy in the centre-of-mass frame there is too little energy for the string picture to apply; between 1.2 and 2.4 GeV the two descriptions are blended. The program enumerates every final state of up to ten hadrons (eight if baryons are involved) that conserves charge, baryon number and strangeness and fits under √s. The hadrons available are the pions, η, η′, ρ, ω, φ, the kaons, K*, the baryon octet and decuplet, their antiparticles, and the deuteron. Each final state receives the weight
(E. Fermi, 1950). The factors are the spin multiplicities, a strangeness suppression of γs = 0.5 per strange quark, identical-particle factors, a Lorentz-contracted interaction volume of radius 1.6 fm, and the non-invariant phase-space density Φn. Φ is computed exactly for two bodies and by Monte Carlo for three; for more, it is evaluated by a saddle-point approximation to the canonical ensemble. That approximation agrees with brute-force integration to within 3% and is fast enough to rebuild the full table while a slider is moved. For pp at √s = 2.2 GeV the model reproduces the main features of the data: about 70% Δ production and 10% deuteron + π⁺.
Above threshold: strings
Each hadron contributes one quark and the remainder of its valence content (a diquark, in the case of a baryon). Colour connects the quark of each hadron to the remainder of the other, forming two strings that stretch across the collision and fragment as described in §6. At collider energies there are additional soft parton–parton scatters, on average 0.9 ln(√s / 50 GeV) of them (five at 13 TeV), each adding two further strings. These account for the roughly one hundred tracks of a typical LHC event.
Hard processes
Jets, c c̄, b b̄, t t̄, W, Z, Drell–Yan pairs and the Higgs boson are calculated in the parton model, as a partonic cross section convolved with the luminosity of each parton pair:
The partonic cross sections σ̂ are leading order: Combridge's heavy-quark formulas, narrow-width W, Z and gg → H, the Drell–Yan γ*, and a single effective subprocess for jets above p⊥ = 4 GeV. The parton densities fi(x, Q) are a hand-built set rather than a fit. Valence quarks are normalised to their counts, the sea and the gluon rise at small x more steeply at higher Q, and the momentum fractions sum to one. Each process carries one constant, the "K-factor", which sets its 13 TeV rate to the measured value; the energy dependence is that of the parton model alone.
5 · Leptons, neutrinos and photons
Annihilation
A lepton and its antiparticle annihilate through a photon or a Z into any fermion pair f f̄ above threshold:
with v = T₃ − 2Q sin²θW and a = T₃. Heavy quarks open at the hadron threshold (twice the D or B mass) rather than at the quark mass. The vector mesons are added as Breit–Wigner peaks of height 12πBℓℓ/M², smeared by a beam-energy spread of 0.07% (0.03% for muons); within a few MeV of the J/ψ mass, more than half of all collisions produce one. Further processes are W pairs (a fit to LEP-2 data with its leading-order extrapolation), Z pairs, Higgs-strahlung with the exact leading-order formula (0.24 pb at 250 GeV), WW fusion, two-photon annihilation by Dirac's formula, and large-angle Bhabha scattering, which is listed as "elastic".
Muon beams have one additional process, direct production μ⁺μ⁻ → H, modelled as a spin-0 Breit–Wigner 4 MeV wide with peak (4π/M²)B(H → μμ). Because the Higgs boson couples to mass, the corresponding process with electrons is weaker by a factor of (mμ/me)² ≈ 43 000.
Lepton–hadron scattering
Three processes are modelled: elastic scattering with a dipole form factor; photoproduction, in which quasi-real photons from the lepton's equivalent-photon flux strike the hadron; and, above Q² = 1 GeV², deep inelastic scattering,
integrated on a grid. The struck quark is chosen in proportion to its charge squared times its density at x, and leaves as a jet connected by a string to the remnant. In charged-current scattering (W exchange) the lepton becomes its neutrino.
Neutrinos
Neutrino processes are charged- and neutral-current deep inelastic scattering with the same parton densities, quasi-elastic ν n → ℓ⁻ p, Δ production, and three processes on electrons: weak elastic scattering, inverse muon decay above √s = mμ, and the Glashow resonance ν̄e e⁻ → W⁻. On an average nucleon at 50 GeV the charged-current cross section is 0.61 × 10⁻³⁸ cm² per GeV of neutrino energy, against a measured 0.68. The masses of outgoing leptons are enforced kinematically, so a ντ produces a τ only above Eν ≈ 3.5 GeV.
Photons
On charged targets, photons undergo Bethe–Heitler pair production, which dominates at high energy. On any hadron they undergo photoproduction, from the Donnachie–Landshoff fit together with the nucleon resonances. Two photons produce lepton pairs (Breit–Wheeler), hadrons, or, above 161 GeV, W pairs. A photon and an electron undergo Compton scattering (Klein–Nishina). A photon and a neutrino do not interact.
6 · Jets, strings and decays
Parton showers
Colour systems heavier than 8 GeV first radiate gluons through a dipole shower ordered in transverse momentum, generated by the Sudakov veto algorithm from
with one-loop running of αs and a cutoff of 1.5 GeV. Gluons above 4 GeV are counted as separate jets, corresponding to the three-jet events in which the gluon was discovered at PETRA.
String fragmentation
Each string breaks repeatedly into quark–antiquark pairs, with flavour ratios u : d : s = 1 : 1 : 0.3 and diquarks at 10%. Each hadron takes a fraction z of the remaining light-cone momentum, drawn from the Lund symmetric fragmentation function
or from Peterson's function for a hadron containing a c or b quark, with Gaussian transverse momentum at every break. The last two hadrons are produced in an exact two-body decay of the remaining system, so each string conserves four-momentum to rounding precision. Strings too light to break collapse to the smallest set of hadrons their flavours allow, and the event's momenta are rescaled to compensate. Flavour is never rescaled: every event conserves charge, baryon number and lepton numbers exactly, and the test suite checks this for every process at many energies.
Decays
About 120 particles carry Particle Data Group masses, lifetimes and decay tables. Only the main modes of each table are kept, renormalised to 100%. Every unstable particle decays: its proper time is drawn from the exponential law, it travels βγcτ, and its products are distributed in phase space and boosted. Broad daughters (ρ, Δ, W, Z) are assigned Breit–Wigner masses limited by the energy available from the parent, which allows a 125 GeV Higgs boson to decay to one real and one virtual W. Particles that leave the chamber still decay, and the codex counts their decay products.
7 · Bubble chamber
The chamber is a box 3.8 m long, 2.1 m tall and 1.2 m deep, in a 1.5 T magnetic field directed out of the screen. A charged track is a helix whose projection is a circle of radius (in GeV, tesla and metres). Tracks lose about 0.6 MeV/cm × 1/β² to ionisation, and electrons additionally lose E/X₀ to radiation, so that low-energy electrons spiral inwards. Daughter tracks begin where the parent ended, with the direction the field had turned it to. Photons convert to e⁺e⁻ pairs with probability 1 − exp(−7L/9X₀), where X₀ = 1 m; these pairs are real particles, added to the event and counted. Time runs at about 10⁻⁹ of real speed.
The simulated liquid extends beyond the chamber walls. Particles are followed through a region three times the size of the chamber, up to the edge of the zoomed-out view, so decays outside the chamber are also drawn. A track that leaves this region without further interaction fades out over its last 1.5 m, and the beams fade in over the same distance.
Purely decorative elements: the bubbles and their jitter, the delta-ray curls along heavy tracks, the fiducial crosses, and the liquid beyond the walls, which no real chamber had.
8 · Codex
Discovery criteria
- Leptons, the photon, W, Z, Higgs and top: discovered when produced anywhere in an event, including in decays.
- Strange, charm and bottom quarks: discovered through any hadron containing them. A kaon establishes strangeness and a J/ψ establishes charm.
- Up and down quarks, and the gluon: discovered only through a hard collision that ejects one as a jet: deep inelastic scattering, a hard scatter, a quark pair from annihilation above 5 GeV, or a shower gluon above 4 GeV. Because every hadron contains up and down quarks, observing a pion does not establish them. This matches the historical situation until 1968.
- Isotopes: discovered when at least one atom is produced, directly or through any decay. Light nuclei from the collider (d, t, ³He, α) count, as do the electrons, positrons, neutrinos and photons from nuclear decays, which are entered on the Standard Model chart.
Beams
Obtaining a beam is harder than making a discovery. Observing a particle enters it in the codex, but it is added to the beam list only once there is a means of producing a steady supply of it travelling in one direction, following the way real beam lines obtained theirs. Hadrons must come directly from a collision, electrons are emitted from a heated filament, and the remaining particles require a suitable parent. The Beams page of the codex gives a hint for each particle not yet available.
Beam conditions (spoilers)
Every beam requires the particle to have been observed at least once. "Directly from a collision" means the particle has no ancestor that travelled a measurable distance before decaying: a ρ or Δ, which decays within 10⁻²³ s, counts as part of the collision, whereas a kaon that decays 10 cm away does not.
- p, n: available from the start. e⁻: available once one has been observed, since a heated filament is sufficient.
- π±, K±, p̄, n̄: produced directly from a collision, as in a secondary beam line.
- e⁺: produced directly from a collision, from a photon converting in the chamber, or from the β⁺ decay of a proton-rich nucleus in the nuclear beamline.
- γ: available once an electron or positron beam has been fired (bremsstrahlung).
- μ⁺ and νμ: available once a π⁺ or K⁺ beam has been fired, since these decay in flight into them; μ⁻ and ν̄μ likewise from π⁻ or K⁻. A μ⁻ beam also yields νμ, and a μ⁺ beam ν̄μ.
- νe: from a μ⁺ or K⁺ beam. ν̄e: from a μ⁻ or K⁻ beam, or from a nuclear shot that includes fission, as with the reactor used by Cowan and Reines in 1956.
- ντ, ν̄τ: produced in a collision of two hadrons, where charm decays into them, as in the DONUT beam-dump experiment of 2000.
- Any lepton or neutrino also qualifies if it was produced directly from a collision, such as the muons of e⁺e⁻ → μ⁺μ⁻ or the neutrino of a W decay.
9 · Nuclear reactions
Data
Nuclear data are taken from NUBASE2020 (Kondev et al., 2021), which gives the mass excess, half-life, decay branches, spin, natural abundance and year of discovery for all 3 340 nuclides observed to date: the free neutron and 3 339 isotopes of the 118 elements. Branches marked "?" share whatever fraction the measured branches leave, and β-delayed modes are subtracted from their parent β branch. Nuclei absent from the table are assigned masses from a liquid-drop formula with Myers–Swiatecki shell terms, fitted to the 2 509 measured masses from A = 12 upward (rms 1.85 MeV) and adjusted to match the nearest tabulated isotope.
Fusion
Charged nuclei tunnel through the Coulomb barrier MeV, with fm, summed over partial waves:
Here η is the Sommerfeld parameter and g is the WKB integral through a Coulomb barrier of finite nuclear size (the Gamow factor); above the barrier the Hill–Wheeler parabolic form is used. Neutrons face no barrier, and an s-wave sticking probability of 4kK/(k+K)² gives the 1/v law. Photons are absorbed through the giant dipole resonance and, above 30 MeV, by neutron–proton pairs (the quasi-deuteron mechanism). Two protons can fuse only through the weak interaction, with the solar S-factor of 4 × 10⁻²² keV b; no shot available in the program produces a single such event. For heavy pairs a quasi-fission hindrance factor (Loveland, 2007) removes contacts that never reach equilibrium. Above 10 MeV per nucleon, fusion gives way progressively to fragmentation, which takes over completely by 50 MeV per nucleon.
De-excitation
The compound nucleus, formed at E* = Ecm + Q, de-excites by evaporation. Decay widths follow Weisskopf–Ewing and Bohr–Wheeler:
Emission of n, p, d, t, ³He and α is included, with Fermi-gas level densities (a = A/8.5), real separation energies and Coulomb barriers for charged particles. Fission barriers come from the liquid drop plus ground-state shell corrections (24 MeV for lead-208); for actinides the measured plateau of about 6 MeV is used, and for superheavy nuclei a shell barrier that decreases with excitation energy (Ignatyuk, 18 MeV). Ksad accounts for the transition states just above the barrier. The equations are solved deterministically: populations flow through an excitation-energy grid in every nucleus reachable from the initial one, heaviest first, with exact branching ratios. A channel with probability 10⁻¹⁵ is therefore computed with the same care as one that always occurs. In fragmentation, where thousands of nuclei are involved, flows below 10⁻¹¹ are no longer followed.
Fission fragment distributions follow measured systematics. They are asymmetric for actinides, with the heavy fragment near A ≈ 140, and symmetric for lighter and heavier nuclei and at high excitation. Fragment charges follow the unchanged-charge-density rule, and the number of prompt neutrons is ν̄ ≈ 2 + 0.1E* + 0.08(A − 236). At high energy the abrasion model is used: the overlapping volume of the two nuclei is sheared off, the number of removed protons is drawn from a hypergeometric distribution, each lost nucleon deposits 13.3 MeV of excitation (capped at 4 MeV per nucleon, beyond which the nucleus would break up), and the remnants then evaporate.
Radioactive decay
Every product decays to stability through its NUBASE branches, with counts flowing down each branch in order of decreasing mass; this order is valid because every decay lowers the total mass. Spontaneous fission and cluster decays are included. Time is not modelled. The target has 10¹⁹ atoms/cm², so each projectile reacts with probability 10¹⁹ σ, and expected counts are converted to sampled counts at the end.
10 · Validation
The table compares values produced by the simulation with measured values. Rows marked "theory" have no direct measurement, and are compared with the best available calculation instead.
| Quantity | Simulated | Measured |
|---|---|---|
| σtot(pp), √s = 13 TeV | 106 mb | 111 mb |
| σ(tt̄), 13 TeV / 7 TeV | 830 / 195 pb | 829 / 179 pb |
| σ(W⁺), σ(W⁻), σ(Z), 13 TeV | 109, 70, 59 nb | 109, 81, 59 nb |
| σ(gg → H), 13 TeV / 7 TeV | 49 / 17 pb | 48.6 / 16.9 pb (theory) |
| σ(W), σ(Z) at the Tevatron, 1.96 TeV | 15, 5.0 nb | 25, 7.6 nb |
| Z decays to hadrons / invisible | 70.0% / 19.9% | 69.9% / 20.0% |
| Charged particles per hadronic Z decay | 18.6 | 20.8 |
| … per e⁺e⁻ → hadrons at 34.8 GeV (PETRA) | 12.7 | 13.6 |
| σ(π⁺p) at the Δ peak | 204 mb | ≈ 200 mb |
| σCC(νμN) / Eν at 50 GeV, in 10⁻³⁸ cm²/GeV | 0.61 | 0.68 |
| ²³⁵U + thermal n: fission / capture | 97% / 3% | 85% / 15% |
| ²³⁸U + thermal n: fission | none | none |
| ²³⁸U + thermal n: capture | 3 600 b | 2.7 b |
| ⁴⁸Ca + ²⁰⁸Pb → ²⁵⁴No + 2n, best energy | 2.1 μb | ≈ 2 μb |
| ⁴⁸Ca + ²⁴⁹Cf → ²⁹⁴Og + 3n, best energy | 11 pb | 0.5 pb |
| ⁷Li(p,n)⁷Be threshold | 1.880 MeV | 1.880 MeV |
| ²³⁸U → ²⁰⁶Pb | 8 α, 6 β⁻ | 8 α, 6 β⁻ |
Charged multiplicities follow the convention of the LEP experiments: every particle with a lifetime longer than one nanosecond is treated as stable, and the pions from K⁰S and Λ decays are included. The 13 TeV rates for tt̄, W⁺, Z and the Higgs boson are the points at which each process's single constant was set, so they agree by construction. W⁻ shares the W constant, so its shortfall is attributable to the hand-built parton densities. The 7 TeV and Tevatron rows test the energy dependence.
The largest discrepancies are in slow-neutron capture, light-nucleus reaction rates, and the heaviest superheavy elements. Because resonances are not modelled, every nucleus captures a thermal neutron with the same cross section of a few thousand barns, whereas real values range from millibarns to 2.6 million barns for ¹³⁵Xe. The statistical model was not intended for systems such as ⁸Be, and p + ⁷Li at 1 MeV reacts about 100 times too often. Oganesson is about twenty times too easy to produce. In general, any quantity whose real cross section depends on nuclear structure rather than on the barrier is poorly reproduced.
11 · Limitations
The following simplifications are deliberate.
- Spin is ignored. Decays are isotropic, there is no polarisation, and the nuclear model has no angular momentum, which affects fission and the levels through which a nucleus can decay.
- C and G parity are ignored in the statistical model, so e⁺e⁻ → π⁰π⁰, which is forbidden, is allowed.
- Diffraction, pile-up and initial-state radiation are absent. Multiple parton interactions are represented only by a simple count of extra strings, and the parton densities are hand-built.
- Decay tables are truncated to their main modes and renormalised, so rare decays are slightly more common than in nature, and a few are missing.
- Quarkonium and heavy-flavour hadronisation are handled only by string fragmentation.
- The nuclear model has no pre-equilibrium emission, multifragmentation or transfer reactions, and deuterons do not break up. Isomers are not tracked.
- Time is not modelled. Decay chains run to completion regardless of their duration, and nothing is lost to a short experiment. Half-lives are used only to decide which nuclides can serve as beams (at least a millisecond) or targets (at least a second).
- The bubble chamber is schematic. Real chambers were filled with liquid hydrogen, propane or freon, and were photographed in stereo by several cameras simultaneously.
12 · References
- Particle Data Group, Review of Particle Physics (2024): masses, widths, lifetimes, branching fractions, and the total cross-section fits.
- F.G. Kondev, M. Wang, W.J. Huang, S. Naimi and G. Audi, The NUBASE2020 evaluation of nuclear physics properties, Chinese Physics C 45, 030001 (2021).
- E. Fermi, Prog. Theor. Phys. 5, 570 (1950): the statistical model. B. Andersson, G. Gustafson, G. Ingelman and T. Sjöstrand, Phys. Rep. 97, 31 (1983): string fragmentation. G. Gustafson and U. Pettersson, Nucl. Phys. B 306, 746 (1988): the dipole shower.
- V.F. Weisskopf and D.H. Ewing, Phys. Rev. 57, 472 (1940); N. Bohr and J.A. Wheeler, Phys. Rev. 56, 426 (1939); W. Loveland, Phys. Rev. C 76, 014612 (2007); J.-J. Gaimard and K.-H. Schmidt, Nucl. Phys. A 531, 709 (1991).