- Home
- Library
- Computational Quantum Field Theory
- From Generated Events to an Inferred Coupling
- Phase-Space Maps and Weighted Events
Phase-Space Maps and Weighted Events
An event generator must do more than produce plausible momentum vectors. It must cover the allowed configurations with a known probability, conserve four-momentum, and attach the Jacobian needed to recover an absolute rate. A cloud of points can have the right boundary and still have the wrong density.
We construct two- and three-body scalar decays from uniform random numbers. The massless three-body example has an exactly known phase-space volume and a map with constant weights; a massive example checks the same machinery against an independent integral. The resulting four-vectors will also support resonance sampling and unweighting.
Preparation: Lorentz transformations, a change of variables in an integral, and invariant phase space. We use natural units and the mostly-minus metric and covariant state normalization.
Three densities that must remain distinct
For a parent of momentum , our invariant measure is
The parent-rest decay rate is
where is the parent mass and is the identical-particle symmetry factor when integrating over a fully labeled domain. All primary examples have distinguishable daughters and . The measure has mass dimension ; the amplitude and flux factor complete the rate's mass dimension.
A generator instead draws coordinates from a normalized probability law. If it maps unit uniforms into phase space, write . For a measurement function , including cuts,
The phase-space weight, rate weight, and normalized event probability are different objects. Dividing a histogram by its total weight makes a probability distribution; it does not preserve the absolute rate. For independent events, use the sample variance of the complete per-event contribution, including zeros from failed cuts, divided by . Normalizing by the sampled total instead produces a correlated ratio; its errors are discussed in importance sampling.
The PDG review defines its symbol without our overall . Its decay and recursion formulas must be translated together. The formulas here include that factor throughout. PDG, §§49.3–49.4.3, Eqs. (49.11)–(49.23), PDF pp. 2–4.
Two uniforms generate a two-body decay
Define the Källén function
For , energy conservation and the two mass shells give
Draw independently and uniformly on , and set , . Then
To obtain the measure, use the spatial delta function to set . The remaining radial energy delta function has derivative
on its support. Thus
Every event has the same phase-space weight. A uniform polar angle , rather than a uniform , would overpopulate the poles unless its different Jacobian were included.
For a concrete interaction with distinct scalar fields, at tree level. Set , , , and in the chosen mass unit. The calculation gives
The angular cut retains exactly of this rate. The generated estimate is for its probability. The angular observable has exact mean and variance ; its estimate is . These errors are standard errors across eight independent replica means. Neither estimate has been moved toward its target by changing the seed.
At threshold the phase-space volume is zero. Below threshold there is no physical decay map. In the massless limit , independently of ; this also checks the measure's dimension.
Five uniforms generate a three-body decay
Introduce the timelike cluster and . The allowed range is
Insert a delta function for and integrate its mass shell to obtain the exact factorization
Draw with normalized density . Two uniforms specify 's direction in the parent rest frame; two more specify 's direction in the rest frame. Construct the inner back-to-back pair, boost it into the parent frame, and set . Using the two-body angular Jacobians twice gives
The factor belongs to the cluster-mass integral. Omitting it changes the total volume by , even though every generated event can still obey its mass shells.
The companion uses an active boost: a rest-frame four-vector becomes a vector in a frame where its parent has velocity ,
Near a lightlike cluster, recovering from loses information. When the positive cluster mass and its momentum are known, the implementation instead uses the algebraically equivalent formulas
This avoids subtracting nearly equal squared quantities. An exactly null cluster has no rest frame; it is a limiting boundary of this chart, not an ordinary input to a rest-frame boost. The binary64 generator excludes the upper endpoint and maps an exact zero output to half its first uniform cell, . Forced endpoint-cell tests are retained. This handles the numerical representation of a measure-zero boundary without imposing a physical invariant-mass cut.
A flat massless Dalitz map
For three massless daughters, put . The weight reduces to
Uniform gives a variable weight proportional to . Instead sample the normalized density with
The rationalized expression is preferable near zero. Now every event has
This is uniform invariant phase space, not a uniform marginal. Introduce . After integrating orientations, the normalized density is on the triangle , , . Integrating its vertical slice gives precisely . It also gives independent checks
For example, a dimensionless squared amplitude has phase-space average , so its total decay width is for distinguishable daughters. A flat phase-space map need not have flat rate weights.
The left panel uses the first 1,500 retained events from replica 0 of the flat phase-space map. The right panel uses all eight replicas, 65,536 events in total. Uniform density in the triangle produces the marginal , not a flat distribution in .
What the retained experiment establishes
Each of five cases uses eight independent replicas of 8,192 events. Their streams are fixed by SeedSequence([911025,0,case_id,replica]); the companion records all replica estimates. Here are the three-body normalizations at :
| Case | Estimated volume | Replica standard error | Reference |
|---|---|---|---|
| Massless, uniform | |||
| Massless, flat phase space | Constant weight | ||
| Masses , uniform |
The massive reference uses a separate one-dimensional integral with . Orders 64 and 128 agree with the previously retained direct daughter-energy integration to better than . This is a numerical cross-check, not an analytic formula or a rigorous error enclosure. The independent normalization derivation is developed in three-body phase space.
For the massless flat map, the measured moments are
| Observable | Estimate with replica standard error | Exact value |
|---|---|---|
The constant normalization has no sampling variance; its nonconstant observables still fluctuate. For instance, under the flat map , whereas the cut is Bernoulli with variance . Under the uniform- map, . These exact variances distinguish an integration error estimate from a deterministic Jacobian check. With only eight replicas, the estimated error itself has appreciable uncertainty.
The retained checks also verify inverse maps at interior points, positive energies, all mass shells, parent conservation, and the same invariants after a boost by . The finite-difference inverse-Jacobian check is accurate to ; direct interior chart round trips agree within . Deliberately dropping the cluster factor or assigning a constant weight to uniform gives incorrect volumes despite valid-looking kinematics.
Reproduce the maps
The companion directory is examples/computational-qft/event-generation/. Run:
python3 examples/computational-qft/event-generation/phase_space_checks.py
phase_space.py contains the pure maps and conventions; phase-space-results.json retains the selected checks, all replica summaries, histograms, and figure points. Exact endpoint inputs, below-threshold inputs, angular seams, and null-cluster limits have explicit domains. Four-vector checks do not establish that a physical amplitude or detector model is correct; those are additional ingredients.
Exercises
1. Derive the five-variable Jacobian
Starting from the two-body angular measure and the cluster recursion, derive the general three-body event weight. Then derive the massless flat map and explain why choosing uniform does not give uniform Dalitz points with constant weights.
Solution
Each uniformly sampled direction contributes its integrated two-body factor. For the outer and inner decays these are
Multiplying them by and using gives the displayed . For zero daughter masses, the two square roots are and , so . Its integral is .
Set . Integrating from zero to gives ; solving for the root in gives . The resulting weight is constant. In Dalitz coordinates the allowed width in is . A uniform area density therefore has an marginal proportional to that width. Choosing uniformly with isotropic inner angles instead generates a nonuniform area density; the variable weight corrects it.
2. Cuts and indistinguishable daughters
Find the massless phase-space probability for , , with and . Explain when dividing a labeled three-body rate by is equivalent to integrating over one ordered sector.
Solution
Translate , . The remaining triangle has legs , area , and normalized density . Thus
For , this is . When the probability is zero, apart from a measure-zero boundary.
For three identical daughters, the amplitude squared and the physical measurement must be invariant under their permutations. Except on coincidence boundaries of measure zero, the fully labeled domain consists of six equivalent ordered sectors. Therefore
Do not also divide the ordered-domain integral by . The preceding asymmetric condition on specifically labeled and is not automatically an observable for indistinguishable daughters. It must first be defined through a physical ordering prescription or symmetrized; otherwise the six sector integrals need not be equal.
Summary
A useful event map supplies momenta, support, and a density transformation together. Recursive two-body decays give a concrete five-variable three-body map; its cluster factor and mass proposal determine the weight. Analytic volumes, moments, and cuts test normalization independently of mass-shell checks. Once those pieces are fixed, an adaptive proposal can improve efficiency without changing the target rate.
References
- Particle Data Group, Kinematics, 2025 update to S. Navas et al., Physical Review D 110, 030001 (2024), §§49.3–49.4.3, Eqs. (49.8)–(49.23), PDF pp. 2–4. The review's phase-space convention is translated explicitly above. Review (PDF).
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.