Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2063236
LO phase-space: sample t-channel invariants relative to their range; …
oliviermattelaer Oct 25, 2026
9fdcb80
genps: clamp the remaining t-channel mass to [smin,smax]; document th…
oliviermattelaer Oct 25, 2026
5e80c5d
test_t_channel_survey_grid: check the survey logs for negative-width …
oliviermattelaer Oct 25, 2026
9f420bd
Fix CI: first t-channel invariant back in units of stot; combine_grid…
oliviermattelaer Oct 25, 2026
bc3ac12
dsample: floor the per-iteration variance (NaN for 2-body decays)
oliviermattelaer Oct 25, 2026
1a9050a
test_madspin_factory: recalibrate the unweighting-consistency scatter
oliviermattelaer Oct 25, 2026
6053352
combine_grid: start the rebin at the lower end of the grid interval
oliviermattelaer Oct 26, 2026
a1b17d2
combine_grid: put the shifted upper edge on bin ng-2 (as dsample.f); …
oliviermattelaer Oct 26, 2026
615729c
LO madevent: fix vector mode (vector_size>1) without subprocess grouping
oliviermattelaer Oct 26, 2026
0724e5a
LHAPDF glue: read optional metadata without exceptions
oliviermattelaer Oct 26, 2026
fd10b52
Drop the LHAPDF 6.0/6.1 glue (pdf_lhapdf6.cc): require LHAPDF >= 6.2
oliviermattelaer Oct 26, 2026
c8d2ef2
LHAPDF glue: read optional metadata without exceptions
oliviermattelaer Oct 26, 2026
41629b5
Drop the LHAPDF 6.0/6.1 glue (pdf_lhapdf6.cc): require LHAPDF >= 6.2
oliviermattelaer Oct 26, 2026
3caac20
LHAPDF glue: quark thresholds fall back to the mass without exceptions
oliviermattelaer Oct 26, 2026
ded4ce4
LHAPDF glue: quark thresholds fall back to the mass without exceptions
oliviermattelaer Oct 26, 2026
d14d233
LHAPDF >= 6.2 check: do it in get_lhapdf_version_static
oliviermattelaer Oct 26, 2026
c739da7
LHAPDF >= 6.2 check: do it in get_lhapdf_version_static
oliviermattelaer Oct 26, 2026
23d33d6
Merge pull request #468 from mg5amcnlo/fix-lhapdf-fallback-no-exceptions
oliviermattelaer Oct 27, 2026
f406861
Merge pull request #469 from mg5amcnlo/fix-lhapdf-fallback-no-excepti…
oliviermattelaer Oct 27, 2026
940bab5
LO run_card: recompile everything when vector_size/nb_warp changes
oliviermattelaer Oct 27, 2026
a1c1120
LO madevent vector mode: fix decays (one initial-state particle)
oliviermattelaer Oct 27, 2026
aedacbf
Merge pull request #470 from mg5amcnlo/claude/mg5-vecsize-rebuild
oliviermattelaer Oct 27, 2026
2f48364
Merge pull request #466 from mg5amcnlo/claude/lo-tchannel-grid-fix
oliviermattelaer Oct 27, 2026
e81b8de
IOTests: pin the Tensor Integral libraries of the loop interface outputs
oliviermattelaer Oct 27, 2026
af145fe
update IOTEST
oliviermattelaer Oct 27, 2026
1b4680c
Missing r formatting symbol in file_writers
zlmarshall Oct 28, 2026
5f9e8d8
Merge pull request #471 from zlmarshall/patch-1
oliviermattelaer Oct 28, 2026
c41c058
Pythia8 8.318: load main164's merging hook from the shower card
oliviermattelaer Oct 29, 2026
12e7d37
CI: run TEST_pythia8_merging_plugin (test_misc) in unittest_madevent_run
oliviermattelaer Oct 29, 2026
f48dedc
LO setcuts: fix the ihtmin lower bound on shat
oliviermattelaer Oct 29, 2026
34980c3
LO setcuts: keep decay b-quarks out of the b-block smin
oliviermattelaer Oct 29, 2026
8af924d
LO setcuts: safe jet-block smin with no-cut jets and cutuse=1
oliviermattelaer Oct 29, 2026
bdcabcd
LO setcuts: rank-based smin for leptons and photons
oliviermattelaer Oct 29, 2026
14a6fbe
UpdateNotes: smin fixes
oliviermattelaer Oct 29, 2026
c266386
LO setcuts: ignore negative ihtmin/htjmin/misset in smin
oliviermattelaer Oct 29, 2026
0bc4ec7
LO setcuts: lepton smin block also for neutrino-only final states (mi…
oliviermattelaer Oct 29, 2026
5afd43e
acceptance test: smin never above the minimal shat allowed by the cuts
oliviermattelaer Oct 29, 2026
ec59a09
CI: run test_smin_below_cut_threshold
oliviermattelaer Oct 29, 2026
a5dd49a
LO setcuts: drop the dead no-cut branch of the b-block smin
oliviermattelaer Oct 29, 2026
e908aba
acceptance test smin: also check the lower bound, close the log files
oliviermattelaer Oct 29, 2026
6605fb7
acceptance test smin: exact values for all the cases of the fix
oliviermattelaer Oct 29, 2026
6395bac
Merge pull request #474 from mg5amcnlo/smin-3.5.18
oliviermattelaer Oct 29, 2026
efc6b49
Merge pull request #467 from mg5amcnlo/claude/mg5-nongrouped-vector
oliviermattelaer Oct 29, 2026
24e30ef
Merge pull request #473 from mg5amcnlo/claude/py8-318-merging-plugin-…
oliviermattelaer Oct 29, 2026
3d325db
create_release: strip macOS metadata from release tarballs (#476)
oliviermattelaer Oct 30, 2026
b89dfc2
create_release: also exclude pre-existing AppleDouble ._* files from …
oliviermattelaer Oct 31, 2026
d73a062
Merge pull request #477 from mg5amcnlo/release-tar-xattrs-3.5.18
oliviermattelaer Oct 31, 2026
2903692
NLO real emission: tie helicities only if they agree after a Lorentz …
oliviermattelaer Nov 1, 2026
955e177
MadLoop: disable the helicity filter for all 2>1 and 1>2 processes
oliviermattelaer Nov 1, 2026
33bd157
MadLoop: retain all loop helicities for 2>1 and 1>2 processes
rikkert-frederix Nov 5, 2026
b2202de
fixing IOTest
oliviermattelaer Nov 6, 2026
43313c1
JAMP coefficients: print a zero real/imag part without its sign
oliviermattelaer Nov 6, 2026
e1ba542
Merge pull request #478 from mg5amcnlo/claude/fks-real-tie-lorentz-ch…
oliviermattelaer Nov 6, 2026
f488f0f
final version for 3.5.18
oliviermattelaer Nov 6, 2026
f77fca9
Merge origin/3.5.18 into 3.8.2
oliviermattelaer Nov 6, 2026
78b0075
run_card: keep pdlabel user-defined when pdlabel1/2 are set internall…
oliviermattelaer Nov 9, 2026
78fbcaa
Merge pull request #483 from mg5amcnlo/claude/issue-481-pdlabel-loop-…
oliviermattelaer Nov 9, 2026
13764b1
Fix loop-induced madevent output with group_subprocesses=False (#486)
oliviermattelaer Nov 11, 2026
57460b5
Merge pull request #487 from mg5amcnlo/fix-issue486-loop-induced-nogr…
oliviermattelaer Nov 12, 2026
4698ffa
Merge 3.5.18 (78fbcaac18) into 3.8.2
oliviermattelaer Nov 20, 2026
6ee89e3
Merge mg5amcnlo 3.8.2 (incl. the latest 3.5.18) into main
oliviermattelaer Nov 20, 2026
9945c7d
LO: move DDILOG out of setrun.f into its own libpdf member
oliviermattelaer Nov 20, 2026
841fa52
Merge main into the 3.8.2 merge branch
oliviermattelaer Nov 20, 2026
5bff77d
IOTest: nogroup auto_dsig.f golden for the symfact fix
oliviermattelaer Nov 20, 2026
8ec8ae7
CI: run the IOTests on pull requests, drafts included
oliviermattelaer Nov 21, 2026
8db1f47
Merge main into the 3.8.2 merge branch
oliviermattelaer Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/acceptancetest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,13 @@ jobs:
cd $GITHUB_WORKSPACE
./tests/test_manager.py test_loop_induced_ggh -pA -t0 -l INFO

# ---- acceptancetest_104_nogroup (from mg5 3.8.2, issue #486) ----
- name: test loop-induced gg>h output with group_subprocesses=False
if: ${{ !cancelled() }}
run: |
cd $GITHUB_WORKSPACE
./tests/test_manager.py test_loop_induced_ggh_nogroup -pA -t0 -l INFO

# ---- acceptancetest_fks_standalone_limits_pp_ttx ----
# soft and collinear limits of p p > t t~ [QCD] via the FKS standalone
# output ('output standalone_fortran --fks --limits'): launch runs
Expand Down Expand Up @@ -1359,6 +1366,10 @@ jobs:
- uses: ./.github/actions/restore-pip-cache
- name: Check real-emission helicity sums across frames
run: ./tests/test_manager.py test_real_helicity_sum_survives_a_boost -pA -t0 -l INFO
# from mg5 3.8.2: the MadLoop loop filter of a 2>1 process across frames
- name: Check MadLoop loop filters across frames
if: ${{ !cancelled() }}
run: ./tests/test_manager.py test_ML_loop_filter_survives_a_boost -pA -t0 -l INFO
- name: Cancel the other CI runs of this commit (fail fast)
if: ${{ failure() && github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-ci') }}
env:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/acceptancetest_madevent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ jobs:
./tests/test_manager.py test_group_subprocess_permuted_scale -pA -t0 -l INFO
./tests/test_manager.py test_mlm_pdfrwt_flavour -pA -t0 -l INFO

# ---- acceptancetest_51_2 (from mg5 3.8.2) ----
# lower bound on shat (smin, setcuts.f) below the cut threshold
- name: "acceptancetest_51_2"
if: ${{ !cancelled() }}
run: |
cd $GITHUB_WORKSPACE
./tests/test_manager.py test_smin_below_cut_threshold -pA -t0 -l INFO

# ---- acceptancetest_contur ----
- name: "acceptancetest_contur: run the test"
if: ${{ !cancelled() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ jobs:
if: ${{ !cancelled() }}
run: |
cd $GITHUB_WORKSPACE
./tests/test_manager.py test_cluster test_collect_events test_make_opts test_mg7_plots test_systematics test_test_finder TestHistogramRegressions TestLorentzStructureCanonicalisation TestRestrictionDoesNotLeakIntoTheUFO TEST_pythia8_main164 TestPhotonPDFDefault test_same_cpp_code TestPrecisionCheck test_write_inc_file_running_scale test_scan_summary_json test_collapse_duplicate_lorentz test_goldstone_mass_mismatches test_goldstone_merge_is_atomic test_goldstone_merge_keeps_coupling_orders_apart test_goldstone_phase_detects_a_rotated_convention test_goldstone_phase_of_the_sm_is_trivial test_lorentz_info_cache_refresh test_optimise_iden_coup_lorentz_added_after_cache test_optimise_iden_coup_unknown_lorentz_is_skipped test_parse_fermion_structure test_rotate_coupling test_fd_gauge_interaction_ids_stay_unique test_configure_gzip_resets_pigz_threads test_external_gzip_failure_removes_partial_archive test_external_gzip_keep_passes_thread_limit test_gzip_failure_keeps_source_and_leaves_no_archive test_gzip_keep_preserves_plain_source test_interrupted_gzip_removes_partial_archive -t0
./tests/test_manager.py test_cluster test_collect_events test_make_opts test_mg7_plots test_systematics test_test_finder TestHistogramRegressions TestLorentzStructureCanonicalisation TestRestrictionDoesNotLeakIntoTheUFO TEST_pythia8_main164 TestPhotonPDFDefault TestRunCardLOResetSimd test_same_cpp_code TestPrecisionCheck test_write_inc_file_running_scale test_scan_summary_json test_collapse_duplicate_lorentz test_goldstone_mass_mismatches test_goldstone_merge_is_atomic test_goldstone_merge_keeps_coupling_orders_apart test_goldstone_phase_detects_a_rotated_convention test_goldstone_phase_of_the_sm_is_trivial test_lorentz_info_cache_refresh test_optimise_iden_coup_lorentz_added_after_cache test_optimise_iden_coup_unknown_lorentz_is_skipped test_parse_fermion_structure test_rotate_coupling test_fd_gauge_interaction_ids_stay_unique test_configure_gzip_resets_pigz_threads test_external_gzip_failure_removes_partial_archive test_external_gzip_keep_passes_thread_limit test_gzip_failure_keeps_source_and_leaves_no_archive test_gzip_keep_preserves_plain_source test_interrupted_gzip_removes_partial_archive -t0

# gamma-UPC run_card labels, makefiles and exporters, plus the gamma-UPC
# Fortran library compiled and checked directly (needs gfortran: the
Expand Down
90 changes: 90 additions & 0 deletions Template/LO/Source/PDF/ddilog.f
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
c CERNLIB DDILOG (C332), the real dilogarithm. Used by the dressed-
c lepton densities (lep_densities/isrbet*ll/eepdf.f).
c It sits in its own member of libpdf, not in setrun.f (libgeneric):
c CutTools and IREGI (qcdloop) define the same symbol, and with GNU ld
c a loop-induced madevent link pulls both copies when ddilog is in
c setrun.o ("multiple definition of ddilog_"). As its own archive
c member it is only loaded when no earlier library defines it.

double precision FUNCTION DDILOG(X)
*
* $Id: imp64.inc,v 1.1.1.1 1996/04/01 15:02:59 mclareni Exp $
*
* $Log: imp64.inc,v $
* Revision 1.1.1.1 1996/04/01 15:02:59 mclareni
* Mathlib gen
*
*
* imp64.inc
*
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DIMENSION C(0:19)
PARAMETER (Z1 = 1, HF = Z1/2)
PARAMETER (PI = 3.14159 26535 89793 24D0)
PARAMETER (PI3 = PI**2/3, PI6 = PI**2/6, PI12 = PI**2/12)
DATA C( 0) / 0.42996 69356 08136 97D0/
DATA C( 1) / 0.40975 98753 30771 05D0/
DATA C( 2) /-0.01858 84366 50145 92D0/
DATA C( 3) / 0.00145 75108 40622 68D0/
DATA C( 4) /-0.00014 30418 44423 40D0/
DATA C( 5) / 0.00001 58841 55418 80D0/
DATA C( 6) /-0.00000 19078 49593 87D0/
DATA C( 7) / 0.00000 02419 51808 54D0/
DATA C( 8) /-0.00000 00319 33412 74D0/
DATA C( 9) / 0.00000 00043 45450 63D0/
DATA C(10) /-0.00000 00006 05784 80D0/
DATA C(11) / 0.00000 00000 86120 98D0/
DATA C(12) /-0.00000 00000 12443 32D0/
DATA C(13) / 0.00000 00000 01822 56D0/
DATA C(14) /-0.00000 00000 00270 07D0/
DATA C(15) / 0.00000 00000 00040 42D0/
DATA C(16) /-0.00000 00000 00006 10D0/
DATA C(17) / 0.00000 00000 00000 93D0/
DATA C(18) /-0.00000 00000 00000 14D0/
DATA C(19) /+0.00000 00000 00000 02D0/
IF(X .EQ. 1) THEN
H=PI6
ELSEIF(X .EQ. -1) THEN
H=-PI12
ELSE
T=-X
IF(T .LE. -2) THEN
Y=-1/(1+T)
S=1
A=-PI3+HF*(LOG(-T)**2-LOG(1+1/T)**2)
ELSEIF(T .LT. -1) THEN
Y=-1-T
S=-1
A=LOG(-T)
A=-PI6+A*(A+LOG(1+1/T))
ELSE IF(T .LE. -HF) THEN
Y=-(1+T)/T
S=1
A=LOG(-T)
A=-PI6+A*(-HF*A+LOG(1+T))
ELSE IF(T .LT. 0) THEN
Y=-T/(1+T)
S=-1
A=HF*LOG(1+T)**2
ELSE IF(T .LE. 1) THEN
Y=T
S=1
A=0
ELSE
Y=1/T
S=-1
A=PI6+HF*LOG(T)**2
ENDIF
H=Y+Y-1
ALFA=H+H
B1=0
B2=0
DO 1 I = 19,0,-1
B0=C(I)+ALFA*B1-B2
B2=B1
1 B1=B0
H=-(S*(B0-H*B2)+A)
ENDIF
DDILOG=H
RETURN
END
2 changes: 1 addition & 1 deletion Template/LO/Source/PDF/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ifdef lhapdf
endif
else
TOREMOVE += pdfwrap_lhapdf.o
PDF += Ctq6Pdf.o pdfwrap.o pdf.o pdg2pdf.o NNPDFDriver.o eepdf.o gridpdfaux.o dfint.o kerset.o
PDF += Ctq6Pdf.o pdfwrap.o pdf.o pdg2pdf.o NNPDFDriver.o eepdf.o ddilog.o gridpdfaux.o dfint.o kerset.o
endif


Expand Down
84 changes: 0 additions & 84 deletions Template/LO/Source/setrun.f
Original file line number Diff line number Diff line change
Expand Up @@ -298,87 +298,3 @@ subroutine get_pdfup(pdfin,pdfgup,pdfsup,lhaid)

return
end


double precision FUNCTION DDILOG(X)
*
* $Id: imp64.inc,v 1.1.1.1 1996/04/01 15:02:59 mclareni Exp $
*
* $Log: imp64.inc,v $
* Revision 1.1.1.1 1996/04/01 15:02:59 mclareni
* Mathlib gen
*
*
* imp64.inc
*
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DIMENSION C(0:19)
PARAMETER (Z1 = 1, HF = Z1/2)
PARAMETER (PI = 3.14159 26535 89793 24D0)
PARAMETER (PI3 = PI**2/3, PI6 = PI**2/6, PI12 = PI**2/12)
DATA C( 0) / 0.42996 69356 08136 97D0/
DATA C( 1) / 0.40975 98753 30771 05D0/
DATA C( 2) /-0.01858 84366 50145 92D0/
DATA C( 3) / 0.00145 75108 40622 68D0/
DATA C( 4) /-0.00014 30418 44423 40D0/
DATA C( 5) / 0.00001 58841 55418 80D0/
DATA C( 6) /-0.00000 19078 49593 87D0/
DATA C( 7) / 0.00000 02419 51808 54D0/
DATA C( 8) /-0.00000 00319 33412 74D0/
DATA C( 9) / 0.00000 00043 45450 63D0/
DATA C(10) /-0.00000 00006 05784 80D0/
DATA C(11) / 0.00000 00000 86120 98D0/
DATA C(12) /-0.00000 00000 12443 32D0/
DATA C(13) / 0.00000 00000 01822 56D0/
DATA C(14) /-0.00000 00000 00270 07D0/
DATA C(15) / 0.00000 00000 00040 42D0/
DATA C(16) /-0.00000 00000 00006 10D0/
DATA C(17) / 0.00000 00000 00000 93D0/
DATA C(18) /-0.00000 00000 00000 14D0/
DATA C(19) /+0.00000 00000 00000 02D0/
IF(X .EQ. 1) THEN
H=PI6
ELSEIF(X .EQ. -1) THEN
H=-PI12
ELSE
T=-X
IF(T .LE. -2) THEN
Y=-1/(1+T)
S=1
A=-PI3+HF*(LOG(-T)**2-LOG(1+1/T)**2)
ELSEIF(T .LT. -1) THEN
Y=-1-T
S=-1
A=LOG(-T)
A=-PI6+A*(A+LOG(1+1/T))
ELSE IF(T .LE. -HF) THEN
Y=-(1+T)/T
S=1
A=LOG(-T)
A=-PI6+A*(-HF*A+LOG(1+T))
ELSE IF(T .LT. 0) THEN
Y=-T/(1+T)
S=-1
A=HF*LOG(1+T)**2
ELSE IF(T .LE. 1) THEN
Y=T
S=1
A=0
ELSE
Y=1/T
S=-1
A=PI6+HF*LOG(T)**2
ENDIF
H=Y+Y-1
ALFA=H+H
B1=0
B2=0
DO 1 I = 19,0,-1
B0=C(I)+ALFA*B1-B2
B2=B1
1 B1=B0
H=-(S*(B0-H*B2)+A)
ENDIF
DDILOG=H
RETURN
END
Loading
Loading