Repository navigation
Massive incoming particles built by the phase-space mapping (#506) - #532
Open
ramonpeter wants to merge 5 commits into
Open
ramonpeter wants to merge 5 commits into
ramonpeter wants to merge 5 commits into
Conversation
…#506) PhaseSpaceMapping returns massive incoming particles (W and Z beams, muons with a mass, massive partons) on their mass shells, as madevent's genps.f builds them (mom2cx), with an inverse that takes the massive momenta, and DifferentialCrossSection takes the matching flux. This replaces the step of #502 in the Integrand (incoming_on_shell after the mapping, with the flux ratio in the weight), which is removed here. Mapping - Without a t-channel chain (s-channel, rambo, 2 -> 1) and in the chain of the propagator mode the beams are built massive in the partonic frame (com_p_in_massive). The chain scatters off them with massive versions of its 2 -> 2 blocks, chosen when the graph is built so that the massless kernels stay as they are. - t_inv_min_max_massive (and its value and cut variants) does not clamp the |t| range at 0, since t > 0 is reached near the forward direction off a massive beam. - The Invariant samples |t| - min(|t|_min, 0), which is |t| wherever the range stays at or above 0. - t_rapidity_clamp_massive has the rapidity bounds with the kinematics of massive beams in their rest frame, written without cancellations. - The ETmin bound of a massive beam keeps its lower end only, from 2 pa.p1 >= pa_+ p1_-, which never cuts into the phase space. - Chili and the color-ordered chain build the final state against the massless pair with the same sum and put it on its mass shells afterwards (incoming_on_shell, now with light-cone components and an above_threshold output in place of the flux ratio). For chili, whose final state fixes the incoming momenta, that is its construction. The color-ordered chain has no massive versions of its double-t and 2 -> 3 blocks yet. The Jacobian is that of the massless pair, since dPhi_n depends on the sum only. - s_hat is sampled from (m1 + m2)^2 on. A 2 -> 1 process or fixed beams below that give an empty mapping, chili points below it no weight. Cross section - DifferentialCrossSection(incoming_masses=...) uses the flux 1/(2 sqrt(lambda(s_hat, m1^2, m2^2))) (diff_cross_section_massive), and Integrand checks that the cross sections have the masses of the mapping. Checks - Massless beams give forward and inverse bitwise identical to the parent commit for rambo, propagator, chili and color-ordered, leptonic and hadronic, with and without cuts. - madspace/tests/test_massive_incoming.py (30 tests) covers momenta on shell with the same sum, the inverse, the phase-space volume of massless beams with and without cuts, every |t| that passes the cuts inside the massive rapidity and ETmin ranges, the massless limit of the massive kernels and the flux. The rest of the suite fails as on the parent commit. - mg7 against madevent and against the parent commit (#502 with its Integrand step) w+ w- > t t~, W beams 2 x 500 GeV 26.98(4) pb madevent 26.99(7) parent 27.01(4) w+ w- > t t~, W beams 400/600 GeV 27.66(4) pb madevent 27.71(6) parent 27.73(4) mu+ mu- > t t~ (sm-lepton_masses) 0.16615(20) madevent 0.1664(1) parent 0.16655(20) EVA w+ w- > t t~, 2 x 15 TeV 0.011207(32) parent 0.011197(31) w+ w- > z z, W beams 2 x 500 GeV 312.6(8) parent 312.2(7) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ud6YhkZXK3uDs1Z3nwdTi1
Each subprocess passes its incoming masses to DifferentialCrossSection, for the flux 1/(2 sqrt(lambda(s_hat, m1^2, m2^2))) of the massive incoming particles the phase-space mapping builds. The test of #502 for the on-shell kernel checks its above_threshold output in place of the flux ratio, and the comment in madgraph_process.py now says that the mapping puts the incoming momenta on their mass shells. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ud6YhkZXK3uDs1Z3nwdTi1
ColorOrderedMapping builds massive beams on their mass shells, as the
propagator chain does, and every block of the chain scatters off them with
massive versions of its kernels, chosen when the graph is built. The
projection onto the massless pair (incoming_on_shell) is left for chili,
whose final state fixes the incoming momenta.
Kernels
- Double-t block: the |t1| and |t2| ranges, their ETmin bounds, the rapidity
clamps and the scattering with the Jacobian pi / (2 sqrt(lambda)), in the
light-cone components of the beams in their rest frame. |t1| reaches down
to -(ma - m1)^2 where p1 can move with the velocity of pa.
- 2 -> 3 block: the |t1| range of the massive 2 -> 2 kernels, the recoil
ETmin floor of s23 for a massive pa, and the floor of -(p2 - k)^2 in the
step with the opposite beam as recoil (recoil_v_min_massive).
- The ETmin bounds of the massive 2 -> 2 kernels keep both ends now, each the
least or largest value of a light-cone product instead of a dropped term.
Off W and Z beams the lower ends had been up to ma^2 too low.
- Invariant::build_forward_shifted samples x - 2 min(x_min, 0), so that a
range reaching below 0 starts at |x_min| rather than at the pole of the
power law. With 1/|t| sampling and cuts the shift by min(x_min, 0) put most
points just above a lower edge that the cuts reject.
- massive_incoming_masses in base, for TPropagatorMapping and
ColorOrderedMapping.
Checks
- Massless beams give forward and inverse bitwise identical to the parent
commit for rambo, propagator, chili and every color-ordered topology
(single chain, double-t with a walk or a pair, central 2 -> 2), leptonic
and hadronic, with and without cuts.
- test_massive_incoming.py (56 tests) checks, off W and Z beams, the
phase-space volume of every topology against massless beams above the
threshold, with and without cuts and with at least half their cut
efficiency, the inverse, the weighted distributions against rambo, every
event inside the massive double-t, s23 and v ranges and clamps, and the
massless limits of the new kernels. The rest of the suite fails as on the
parent commit.
- mg7 with the propagator chain, against madevent and the parent commit
w+ w- > t t~, W beams 2 x 500 GeV 27.02(4) pb madevent 26.99(7) parent 26.98(4)
w+ w- > t t~, W beams 400/600 GeV 27.64(4) pb madevent 27.71(6) parent 27.66(4)
mu+ mu- > t t~ (sm-lepton_masses) 0.16638(20) madevent 0.1664(1) parent 0.16615(20)
EVA w+ w- > t t~, 2 x 15 TeV 0.011255(33) parent 0.011207(32)
w+ w- > z z, W beams 2 x 500 GeV 313.2(8) parent 312.6(8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ud6YhkZXK3uDs1Z3nwdTi1
…50f744' into massive
Contributor
Author
|
@oliviermattelaer this removes the integrand fix in #502 and instead builds the massive incoming particles directly in the mapping. |
Contributor
How CI reacts to this PR
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #506. Base: #502 (
claude/eva-mg7-helicity-density-50f744).Massive incoming particles built by the phase-space mapping
PhaseSpaceMappingnow returns massive incoming particles (W and Z beams, muons with a mass, massive partons) on their mass shells, as madevent'sgenps.fbuilds them (mom2cx).Its inverse takes the massive momenta, so the channel weights and Python users of the mapping see the momenta the matrix element sees.
DifferentialCrossSectionuses the matching flux 1/(2√λ(ŝ, m1², m2²)).The on-shell step that #502 adds to the Integrand is removed. The Integrand now only checks that the cross sections carry the incoming masses of the mapping.
Mapping
com_p_in_massive).Invariant::build_forward_shifted). The sampled range then starts at |x_min|, away from the pole of the power law, which keeps the cut efficiency of massless beams.incoming_on_shell). The Jacobian is unchanged, because dΦ_n depends only on the total momentum.Cross section
DifferentialCrossSection(incoming_masses=...)usesdiff_cross_section_massive.Checks
madspace/tests/test_massive_incoming.pyhas 56 tests, all passing. Off W and Z beams they check:test_mg7_massive_incoming.py,test_eva_mg7.pyandtest_gamma_upc.pypass.The six pulls give χ² = 6.5 for 6 degrees of freedom. Per t-channel mode (propagator, rambo, and chili for EVA) the two agree within 0.6σ.
The following were not run: the GPU builds (no CUDA in the test environment), an
[amplicol]process with massive beams (no pyAmpliCol build), and a proton-PDF process with massive partons (no LHAPDF set).Not in this PR
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ud6YhkZXK3uDs1Z3nwdTi1