Repository navigation
Expand file tree
/
Copy pathUpdateNotes.txt
More file actions
622 lines (619 loc) · 48.2 KB
/
Copy pathUpdateNotes.txt
File metadata and controls
622 lines (619 loc) · 48.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
Update notes for MadGraph7 (in reverse time order)
ANNOUNCEMENT:
The 2.9.X LONG TERM STABLE version is now at end of life for bug fixing/support since December 2025.
A new LTS (based on the current 3.5.X) is starting now and will act as the stable release for the coming years.
0.4.0 (XX/XX/XX):
OM: madevent rejected every phase-space point with a dynamical factorisation scale below
2 GeV whenever lpp was not 0, a floor that only makes sense for hadron PDFs: it
silently cut the threshold region, e.g. 27% of PbPb > a a > ta+ ta- at 5.52 TeV
without cuts (846 instead of 1163 mub). Each beam now has the lower limit of its own
density: 2 GeV for hadron PDFs (|lpp|=1), 1 GeV for the tabulated dressed-lepton
densities (the lower edge of their grids), none for the gamma-UPC fluxes, which do not
depend on the scale, the analytic isrbet* sets, the EPA (iww) and EVA, which handle low
scales themselves. A dynamical renormalisation scale is now raised to at least 2 GeV,
as at NLO, so that alpha_s is not evaluated at its Landau pole (it gave alpha_s = 9e98
for e.g. a a > mu+ mu- without cuts once the factorisation-scale cut was removed).
HS: Bug fix (gamma-UPC): in collisions of two different nuclei (A /= B), the Woods-Saxon
thickness of beam B (TAhat_WoodsSaxon with IMETH=2) was interpolated on the grid of beam
A, which made the probability of no hadronic interaction, and so the photon-photon
luminosity, wrong (EDFF and ChFF alike). Identical beams (PbPb, OO, ...) are not affected.
HS+OM: Bug fix (gamma-UPC): in pA collisions with the ChFF flux and the nucleus as beam 1
(e.g. Pb+p), the photon number densities of the proton and of the nucleus were evaluated
with the kinematics of each other, so the photon-photon luminosity of A+p differed from
the one of p+A. p+A and the EDFF flux are not affected.
OM: gamma-UPC photon fluxes (pdlabel ed*/ch* with lpp 2, proton and ion beams, neutron
tagging) in mg7/madspace. madevent's own gamma-UPC luminosity is tabulated once on a
grid of both photon momentum fractions (it does not factorise) and interpolated by
madspace, so it runs on any device and travels with gridpacks. The table is cached in
Source/PDF/gammaUPC/tables (about 10 s for protons, 5 min for Pb). The phase space is
generated per nucleon (e_cm = sqrt(s_NN)); the cross sections are those of the ion-ion
collision, as in madevent, and the LHE beams are the ions. The interpolation follows
the luminosity to ~1e-6 for protons; for ions to ~1e-5 up to W_gamma-gamma ~ 100 GeV
and to 0.1-1% for 200-500 GeV. It reproduces the MG7 paper LO results for
PbPb > a a > ta+ ta- in all neutron categories.
HS+OM: madevent: lpp = 2 with a pdlabel that is neither gamma-UPC, iww nor none now falls
back to chff (was edff), the default of mg7 too.
RF: "set low_mem_multicore_nlo_generation True" (NLO generation and output on nb_core cores,
the matrix elements kept in temporary files) gives again the output of the serial mode.
It differed for instance in the virtuals (nlo_mixed_expansion False, explicit orders,
a --loop_filter given to one 'add process' only, which it applied to all of them), the
reals after an 'add process' (also those of another NLO mode or diagram filter: of
g g > t t~ [QCD] for u u~ > t t~ [real=QCD]), initial_states_map.dat (empty for
[LOonly]), the order of the directories, proc_characteristics and the default
MadAnalysis5 card (not tailored to the processes). In this mode too, a process without
any correction up to NLO is refused when it is generated (it gave an output without
corrections), and the matrix elements are generated before an existing output
directory is replaced. An 'add process' after changing the option (which lost virtuals
or reals) is now refused: all the processes of an output are generated in one mode.
A process of this mode which dies (e.g. out of memory) now stops the output with an
error instead of making it wait for ever, and a failed fork no longer leaves ctrl+c
ignored for the rest of the session.
Also in the serial mode: after an 'add process', a born could get the real matrix
element of another process definition with other orders (g a > t t~ [QCD QED] that of
g g > t t~ [QCD QED]), and through it the MC histories of the other definition; an
output after an earlier output and an 'add process' lacked the added processes; a
process with --ewsudakov added to an identical one without (u u~ > z z [LOonly=QCD],
then c c~ > z z [LOonly=QCD] --ewsudakov) was combined with it, losing its Sudakov.
RF: NLO output: the born-to-real configuration map of real_from_born_configs.inc, from
which the H events take the tree of their event record (its s-channel resonances), was
only written for the P directories with only QCD splittings, and depended on the
directories written before (through the splitting types accumulated in
proc_characteristic): with --allow_qed_ps, the H events of all the other directories
read an undefined configuration (also for their QCD splittings). Each FKS
configuration now gets its map, QED ones too, whatever the other ones and the other
directories. A born configuration gets the real configuration of its diagram with the
splitting; when the orders of the real amplitude exclude that diagram (mixed QCD and
QED orders, e.g. the s-channel photon and Z of u u~ > t t~ [QCD QED] for a photon
emission), the first real configuration of its topology, else (a topology of the EW
diagrams only, e.g. the t-channel W of b b~ > t t~) the first one with the splitting.
An [LOonly] directory always gets its trivial map. Outputs without QED splittings are
unchanged, apart from the [LOonly] directories (no run reads their map). Also, the
special case of the 2 -> 1 borns of this mapping always failed with python3.
RF: standalone FKS output (output --fks): HTML/info.html listed only the last P directory
(made before the others were stripped down to the Born check); it lists all of them.
RF: NLO output from a script or from Python (not from the prompt, which imports sm when it
starts) whose first generate had to import the model itself wrote no
SubProcesses/procdef_mg5.dat, so that index.html stayed the "under preparation" page,
also after each launch.
OM: color_basis ddm (and auto, for the outputs where auto picks it): the (n-2)!
Del Duca-Dixon-Maltoni colour basis is now also used when the gluons come with
colour singlets, e.g. g g > h + n g in the Higgs effective theory (any number of
scalars or pseudoscalars). The adjoint delta of the g g H vertex made these
processes fall back silently on the (n-1)! trace basis (120 instead of 24 colour
structures for g g > h + 4g). With 'set color_basis ddm' the processes that keep
the trace basis, and why, are now listed at info level. An explicit 'set
color_basis ddm' now only applies to the outputs which can use that basis: the
others keep the trace basis and say so (the Matchbox outputs, which pass its
color strings on; mg7_v5, which crashed on it; the loop and NLO outputs), and
'check' no longer leaves it on for the next command.
OM: 'output pythia8' (dropped in MadGraph7) is now refused by the NLO interface too,
where 'pythia8' was taken as the name of the output directory, and the message
says how to use Pythia 8 instead: shower the events of a madevent, mg7 or NLO
output (shower=Pythia8 at the launch question). The help no longer advertises
it, and 'output <format> auto' no longer writes into the Pythia 8 directory for
the formats without an automatic directory name (it used pythia8_path): it now
writes into a new PROC_<format>_<i> directory (e.g. 'output matrix auto' gives
PROC_matrix_0), which replaces the Pythia8_proc_<i> one. The code that wrote
Pythia 8 process and model code is removed (the Pythia 8 exporters of
export_cpp.py, template_files/pythia8, the unused '-name' output option, and
'launch' on a Pythia 8 directory, which now says that this is no longer
supported, from the LO, MadLoop and aMC@NLO interfaces alike).
OM: standalone/mg7 with --mask=False (no flavour guard) gave wrong |M|^2 for some flavours
of merged electroweak processes (p p > w+ w- j j QCD=0: 24 of 54, d d~ > w+ w- u u~
x55). This was also the root cause of the --hel_recycling bug of 0.3.0: the C++ flavoured
routines accepted a fermion pair in both orientations of its coupling table, which for
a W coupling is the W of the opposite charge. They now read it in one orientation, as
the Fortran routines do (Fortran --mask=False was right). Also:
- an output whose --mask differs from an earlier output of the same processes, or
that follows an add process, no longer reuses that output's matrix elements and
trimmed diagrams;
- a subprocess of more than 64 flavour groups (p p > j j j j QCD=0) keeps its flavour
guards;
- every output (Fortran and C++) refuses a flavoured coupling its flavour tables
cannot hold: an unmerged fermion coupled, as the first fermion of the vertex, to
several flavours of a merged one (e.g. a heavy quark xq mixing into d and s; none
in the bundled models). The tables kept one of them without a word: the Fortran
standalone gave |M|^2 = 0 for g d~ > xq~ z. Use "set apply_flavor_grouping False"
and explicit flavours for such a model;
- "save processes" / "load processes" are removed (the amplitudes kept after an
output have lost the diagrams its --mask trimmed). "save model", "load model" and
"save options" remain.
OM: flavour grouping: a process in which a merged quark is built from unmerged particles
only, through a flavoured coupling with several flavours (a heavy quark xq mixing into
d and s through the Z: p p > xq z j, xq xq~ > z z; none in the bundled models), crashed
the output with a FlavorTagError and a "report this bug" message (xq xq~ > z z, with no
merged external leg, only while writing check_sa.f). The merged output gives each
wavefunction the one flavour its inputs fix: it can neither take this one from the
other end of the fermion line nor sum over it. The output now stops before writing any
subprocess, with an error naming the process and the couplings; generate such a
process after "set apply_flavor_grouping False" and a new import of the model.
OM: polarised propagators of a massive vector (w+{0}, w+{T}, w+{A}, w+{S}, ... on a
particle decayed further) in the FD gauge: {0}, {T}, {+}, {-}, {A}, {S}, {0S} are the
pieces of the five-component FD propagator (the FD longitudinal vector of the
external W, the unitary transverse ones, and (q^2-M^2) n n/(n.q)^2). The FD output
used to be wrong (SIGBUS in the Fortran standalone). {T}, {+}, {-} equal the
unitary-gauge ones, {0} equals it on shell; {A}, {S}, {0S} are the FD remainder
(a warning says so). A line at rest has its helicity axis along +z, as in the
unitary gauge. A massless vector keeps only {T}, {+}, {-} in the FD gauge.
OM: polarised propagators of a massive vector are refused in the Feynman gauge (the
output crashed), in the complex-mass scheme, and {G}, {H}, {Q}, {W} in the FD gauge
(also by ALOHA itself).
OM: madmatrix: a custom propagator denominator with a width term (the polarised
propagators) was written as a Python complex literal and did not compile.
OM: madmatrix, FD gauge, flavour grouping on (the default): |M|^2 was 0 for a W/Goldstone
line between merged and unmerged flavours (t > b ta+ vt, ta+ vt > t b~): the
combined vector + Goldstone routine assumed a flavour-diagonal coupling.
OM: check gauge accepts a decay chain, e.g. 'check gauge t > w+{0} b, w+ > ta+ vt' (the
other checks still refuse them). The chain is compared in the unitary, axial and FD
gauges (not Feynman, where it has no Goldstone boson), with every decayed particle on
shell and a width of 1e-9 M: the helicity pieces agree to 1e-12, {A}, {S} and {0S}
are gauge dependent. Refused in the complex-mass scheme and with loops.
OM: check gauge/brs/lorentz/permutation/full with flavour grouping (the default):
the flavour of the legs was dropped and every grouped process was evaluated for
the first flavour of each group only. A charged-current process such as
`u d~ > w+ g` (evaluated as d d~ > w+ g, which vanishes) was checked by nothing:
an empty gauge table ("Summary: 0/0 passed"), no Ward check, and a "Passed"
0 = 0 permutation check. The checks now evaluate the flavour asked for, and a
multiparticle such as `p p > w+ w-` each physical flavour, as without grouping.
A check that could check no process now says so instead of printing an empty
table.
OM: the FD gauge (Feynman-diagram gauge, arXiv:2203.10440, 2405.01256) is now chosen
automatically for each process line whose diagrams have a W/Z propagator ending on a
vertex that is not a conserved current (HVV, VVV, VVVV, or a massive fermion such as t-b):
VBF/VBS, u u > h j j j j, p p > w+ w-, t t~ with leptonic W decays switch; Drell-Yan,
u d~ > e+ ve g, p p > z z and pure QCD do not. In the unitary gauge the diagrams of such a
process grow with the energy and digits are lost in their sum, in the FD gauge the
cancellation happens diagram by diagram. When every line needs it the whole output is in
the FD gauge ('set gauge FD' in the proc_card), otherwise only those lines are
('--gauge=FD' on them). 'set gauge X' always wins, 'set gauge default' hands the choice
back, 'set auto_gauge False' turns it off. Never for loop processes, spin above one,
bound states, [amplicol] processes, polarised legs, propagator polarisations, or models
without (checked) goldstone bosons. The FD-gauge citation is triggered, the mg7 output
records the gauge in its proc_characteristics. Costs 6-27% per phase-space point, with
an unweighting efficiency equal or better.
OM: new process option 'generate|add process ... --gauge=FD|unitary': the outputs madevent,
standalone_fortran, standalone and mg7 hold subprocesses in both gauges (Fortran:
Source/DHELAS_FD, C++: src/HelAmps_<model>_fd.h), the other formats refuse it. MadSpin
and the reweighting read such a proc_card in one gauge (the reweighting: FD when every
process can be, else unitary). Not available after 'add model' or 'customize_model'.
OM: FD gauge in the complex-mass scheme: the goldstone part of the propagator used the
conjugate mass. Outputs in one gauge are otherwise unchanged. The multiparticles of the
user survive the reload of the model behind 'set gauge'. While an 'output
--postpone_model' waits for its model, the gauge of the processes written in it is kept.
OM: complex-mass scheme: check gauge no longer stops at its axial step (a custom
denominator is written unless it uses the width); madmatrix (standalone, mg7)
compiles and agrees with Fortran; MadSpin uses madmatrix density matrices; the $
exclusion window works (it was silently wrong in Fortran, did not compile in C++);
$ on a massless particle is refused. check language evaluates every backend at the
same phase-space point, and the C++ FD vxxxxx has the FD longitudinal polarisation.
0.3.0 (XX/XX/XX):
TH: [amplicol] lc_flavors = two_lines_resample (the new default): the leading-colour
pass only samples the flavours with at most two quark lines, and the full-colour
pass switches events to the others (all initial states and both beam
orientations), in proportion to the leading colour of all flavours at the event,
with weights that stay within a few per cent of one. lc_flavors = two_lines keeps
neglecting them, lc_flavors = all samples every flavour at leading colour; the
proof-of-concept initial_sum is removed. Needs a regenerated [amplicol] output.
TH: [madnis] buffered_steps_fraction = auto (the new default): no buffered training
for [amplicol] subprocesses, whose leading-colour matrix element is cheap,
0.8 otherwise. A fraction of 0 now allocates no replay buffer at all.
TH: cuts and histograms of a flavour-merged subprocess select its particles by
their flavours (a b quark merged with the light quarks is a bottom); a cut
whose groups split the merged flavours stops the launch.
OM: --hel_recycling (standalone/mg7, CPU/SIMD builds, on by default): the recycled matrix
element left out the flavour masks of a flavour-merged subprocess, on the assumption
that an amplitude masked for a flavour vanishes there anyway. It does not always (a
diagram closed by a bosonic vertex, fed by fermion currents that follow the coupling
partner tables): |M|^2 was wrong for some flavours of merged electroweak multi-quark
processes with charged currents. p p > w+ w- j j QCD=0: 12 of 36 flavours, e.g.
d d~ > w+ w- u u~ x55, d u~ > w+ w- s c~ x169, and 83.7 pb instead of 0.934 pb in a
MadSpace run. Every copy of such an amplitude is now guarded with its mask, as in the
plain build. GPU builds, --hel_recycling=False and MadEvent were not affected; outputs
made before this fix must be regenerated. Also: a recycled build cut into chunks
(HelRecyclingChunks_*.cc) did not compile (ndcoup undeclared).
OM: --hel_recycling (standalone/mg7): the good helicities and the amplitudes that
vanish, which the recycled matrix element is built for, are now measured again at
the param_card a run is launched with (after the launch question, and at each point
of a scan), and at the cards of a MadtRex parameter reweighting. They were only
measured at generation, at the output's default card: a coupling set to zero at
launch was still evaluated, and an amplitude that vanishes at the default card but
not at the launch card was silently dropped. The probe build is kept in .hrprobe,
so that a new card costs a run of it (milliseconds); a card at which the filter
comes out the same rewrites and recompiles nothing, and a build for another filter
than the output's has its own library name (lib..._P*_hr<hash>_*.so).
OM: reweighting applies the beam polarisation of the run_card (polbeam1/2) (#394).
OM: madevent/MadSpin: polarised beams with a mirror process gave beam 1's polarisation
to the particle of beam 2 (#394).
RF: Preserve the legacy scalar-scale fallback for MC@NLO-Delta events
with an unspecified mur when reading MadGraph7 scale metadata.
RF: Remove UNLOPS merging and NNLL+NLO jet-veto resummation, including their
dedicated cuts, clustering, reweighting utilities, PDF grids and LHE
records. NLO runs now accept only ickkw=0 (no merging) and ickkw=3 (FxFx);
cards selecting removed modes are rejected.
RF: Refactor MC@NLO subtraction around native labelled matching histories and
an output-wide BornSupport library. Equivalent Born evaluators share
amplitudes, helicity sums and colour/spin correlations, with explicit
transfers of model parameters, momenta and subprocess metadata. Native
histories retain their own Born projections, PDFs, damping and weights.
The FKS_params.dat controls MCExplicitKLSum, FKSExplicitSum and
MCSubtractionAtFixedFlow select complete inner matching-history sums,
outer FKS-sector sums and subtraction at the sampled event colour flow.
RF: Split FKS phase-space generation into typed Born/real/counterevent state,
sampling and forward/inverse radiation maps. Native Born projections,
subtraction, recoil and event writing use the same kinematic state.
Resonance channels use local recoil with analytic maps and Jacobians.
FKSFinalRecoil=1 or 2 selects a massless incoming parton with a hadronic
PDF as recoiler at fixed order; this option is unavailable for MC@NLO.
RF: Compute MC@NLO-Delta shower scales in native Fortran, removing the
Pythia-backed runtime dependency of the matching integrator. Update
shower-scale, event-colour and Sudakov bookkeeping, including massive
radiators, Pythia 8.318/FxFx patches and Herwig7 integration, configured
through herwig7_path.
RF: Add optional born_spreading in the NLO run_card, fitting a normalized
Born radiation distribution to reduce negative S-event weights. Fits
are validated before use and saved per FKS sector. Add the fitted
virtual surrogate controlled by VirtTrickSurrogate: 0 retains the
grid/polynomial, 1 uses colour dipoles and 2 also uses Born-pair logs.
Repeat the initial channel scan after bad-iteration recovery resets
the grids, including when a Born-spreading fit is already ready;
calibrated restarts retain their adapted channel weights.
RF: Preserve MadGraph7 polarisation and me_frame choices through native Born
and real evaluation. Born helicity masks follow the model, context and
requested frame; shared real caches restore diagram weights as well as
split-order results. Mixed QCD/QED Born amplitudes retain their separate
strong-coupling powers when cached amplitudes are rescaled.
Model snapshots now contain only used point-dependent parameters and
numerical couplings, selected using the model converter's dependency
metadata and reads in the generated evaluators. Used fixed inputs are
installed once per model configuration; card/coupling reinitialization
refreshes that configuration and invalidates dependent caches. Running
external parameters are included, and unused model inputs are omitted.
RF: Propagate MINT integration uncertainties with the actual iteration
weights, including individual channels and the last-three-iteration
estimate. Retain the existing central-value and histogram weights;
accuracy-driven runs can need more iterations with the corrected error.
Handle zero signed estimates and zero-error channels in these updates.
RF: Use scalar virtual fits only with one Born normalizer matching the fit.
Other order combinations retain the per-order grid/polynomial, avoiding
excessive virtual sampling with mixed QCD/EW corrections. Protect the
virtual-to-Born diagnostic when the Born contribution is zero.
RF: Add massive/QED subtraction and shower-support checks. Experimental NLO
QED shower launches require --allow_qed_ps; QED Delta/FxFx matching and
shower channels excluded by the support checks remain unsupported.
PYTHIA6PT final-state radiation is rejected before compilation, using
radiation flags from the retained FKS sectors, including multicore
generation. ISR-only PYTHIA6PT, fixed order and offline reweighting keep
their existing availability.
RF: Regenerate existing NLO process outputs for the new BornSupport library,
metadata and Fortran modules. Refit older Born-spreading sidecars from
integration step 0. Add compiled native/history/frame regressions,
mixed-order cache and shower checks, and MadGraph7-compatible CI setup.
Remove branch-added documentation/audit artifacts and fxfx_diagnostics;
manual historical replay tools accept external provenance inputs.
RF: Clean up aborted local-worker batches after their workers stop,
preserving the original failure and allowing the same MultiCore
instance to run later batches without stale errors or queued work.
RF: Transport the transverse spin four-vector to the Born frame for
resonance and initial-state recoil, and preserve it during the
auxiliary channel projection for consistent me_frame phases.
RF: Restore the two-piece massive final-state radiation map so both
solutions meet at xi_max without an overshoot or gap; align its
inverse coordinates, including the initial-state recoil adapter.
RF: Restore the lower-bound rejection for soft ISR counterevents in
both mappings, avoiding endpoints that cannot pass the cuts.
RF: Include finite sampling-cutoff factors in final-state radiation
Jacobians, their inverses and counterevents. Preserve the normalized
auxiliary Born measure and its spreading coordinates.
RF: The default ISR mapping is now asymmetric at fixed order as well.
Set FKSISRMapping=1 to restore the previous symmetric default for
fixed-order runs.
RF: Compute polar and azimuthal angles from transverse momentum
components, preserving near-beam directions and rotation precision.
RF: Stabilize massive final-state radiation bounds and both solutions
near branch junctions and stationary daughters for zero and nonzero
recoil mass. Use stable phase-space weights and inverse branch
selection with the dimensionful momentum normalization.
RF: Restore the outer FKS statistical compensation for omitted final
photon permutations when photons are tagged. Preserve strict tag,
polarization and on-shell identities for evaluator reuse and native
MC histories. Regenerate tagged-photon NLO outputs to obtain the
corrected factors.
RF: Use unit Sudakov ratios for empty MC@NLO-Delta cross-connection
intervals and equal connection weights when their normalization
vanishes, including equal-scale and flat-table limits.
RF: Use the current emitter mass for the PYTHIA6Q starting-scale bound,
avoiding stale kinematic invariants after a change of FKS sector.
OM: output --axial_gauge=True (madevent, standalone_fortran, standalone, mg7) now also
chooses the spin axis of the massive final-state fermions when at least two of the
massless vectors they couple to share a reference: their spin is quantised along that
reference momentum instead of along their own momentum (new HELAS
routines IXXXXXR/OXXXXXR). More helicity configurations and amplitudes then vanish and
are removed by the helicity filtering and the helicity recycling: g g > t t~ g g has 60
helicity configurations instead of 64 and 7868 non vanishing (helicity, amplitude)
pairs instead of 8784 (9376 without the option). The matrix element summed over the
helicities is unchanged, but the two spin states of such a fermion are not helicity
states: its helicity is written as 9 (unknown) in the event file, and the madmatrix
density binding refuses a density matrix for it. Nothing changes for g g > t t~ or
e+ e- > t t~ g g (no reference shared by two vectors), for a process with a single
massless vector or none, for a polarised process, for an
initial-state fermion, with --density, or with the new --fermion_reference=False,
which keeps the references of the vectors only.
The gluons of a process with an initial-state quark now all share the momentum of
that quark rather than of the initial gluon (u g > u g g: 132 non vanishing pairs
instead of 168).
check gauge and check brs compare these external wavefunctions (reference momenta of
the massless vectors and spin axis of the massive fermions) with the standard ones
as well, in a new column Reference (tree level; new Python routines vxxxxxr, ixxxxxr
and oxxxxxr).
OM: MLM (mg7 and madevent): the hardest scale the shower of the particles that are not
light jets starts from now also includes the core-process scale of the clustering
(madevent's central factorisation scale for scalefact = 1), so it no longer drops
below the hard process when mu_F does: mg7 clustering_mean without the pdf ladder
(beam.pdf_reweighting = false puts mu_F at the softest clustering scale, about
40 GeV for t tbar + 1 jet instead of 210 GeV), madevent scalefact < 1. Samples with
the default settings are unchanged (mu_F is the core-process scale there).
OM: MLM (mg7 and madevent): the shower of the particles that are not light jets
(leptons, photons, top and other heavy quarks) now starts from the hardest scale of
the event, the larger of mu_F and the light jets' pt_clust, and no longer from the
collider energy: that scale is their pt_clust in the LHE (hidden mg7
beam.mlm_shower_start / madevent run_card mlm_shower_start = "hardest_scale", the
default; "collider_energy" is the previous behaviour). This moves the merged cross
section (W + jets +4-9 %, t tbar + jets +12-27 %) and makes it far less dependent on
qcut. With Beams:setProductionScalesFromLHEF Pythia8 starts the initial-state
shower from the largest pt_clust, and the MLM Pythia8 card now sets
SpaceShower:pTmaxMatch = 1 so that this also holds for a sample with no light parton
in the final state. Light partons of the core process keep the collider energy,
Pythia8's do-not-match flag.
OM: mg7: the event scale (SCALUP) of the LHE output is now the factorisation scale, the
larger of the two beams', as madevent writes it; it was the renormalisation scale.
mu_R stays in the <scales> tag (mur) and in AQCDUP. The two differ for MLM samples in
the default clustering_mean mode (mu_R, the mean of the clustering scales, is about
half of mu_F for the jet samples) and for unequal fixed scales. Pythia8 MLM showers
do not change: with Beams:setProductionScalesFromLHEF (set for MLM) Pythia8 replaces
SCALUP by the largest pt_clust_i. Reweighting and MadSpin, which pass mu_R to the
running model parameters, read it from the <scales> tag.
OM: bin/madgraph, bin/madevent, bin/aMCatNLO and bin/generate_events (madevent, aMC@NLO
and mg7 outputs) no longer read their commands, or the answers to the questions of
a command given on the command line, from a pipe or a redirected file (e.g.
"./bin/madgraph < script.txt", "echo 0 | ./bin/generate_events"). That mode runs as
an interactive session, where a command that cannot be applied (such as an invalid
"set") was only a warning and the run went on. They now stop with an error asking
to write the commands to a file and run "EXECUTABLE PATH" instead, unless the new
--allow-stdin option is given. A forced run (-f) only stops when input is waiting
on stdin, which it would otherwise silently ignore. Running with a script file, or
with stdin on /dev/null, is unchanged.
OM: energy units ("1 TeV", "500 MeV", ...) are now only accepted where the value is an
energy, and converted to GeV. The run_card entries carrying an energy are declared
as such (energy=True in their definition): the madevent and aMC@NLO run_cards now
accept units on them too (e.g. "set ptj 1 TeV"). A unit on any other numeric entry
is an error: on the mg7 run_card, "set etaj 2 TeV" or "set jet-eta_abs.max 4 TeV"
used to set an eta cut of 2000/4000; for the [cuts], the observable of the cut says
whether it is an energy. In the param_card, only the masses and the widths accept
a unit (e.g. "set mt 172.5 GeV"). The madevent energy shortcuts (lhc, lcc, lep,
ilc, ebeam, fixed_scale) take a unit too: "set lhc 500 GeV" is a 500 GeV collider
(a unit-less lhc/lcc value stays in TeV), where "set ebeam 6.5 TeV" used to set
6.5 GeV; a real extra argument ("set lhc 13 14") is now refused.
OM: madevent MLM (ickkw=1) with use_syst: the <pdfrwt> entry of the incoming partons
used the flavour class of the grouped subprocess instead of the event's flavour
(pdg 1 for s s~, 2 for c c~), so the systematics (PDF and mu_F variations) of every
s/c-initiated event were computed with the d/u PDF (up to 9% for mu_F=2 on p p > z).
OM: madevent LO vector mode (vector_size>1): the good-helicity scan saw a single
beam orientation per warp, so up to half of p p > z was dropped. With helicity
recycling, the madevent_forhel scan now runs event by event. Without it
(hel_recycling = False), the scan inside SMATRIX now runs its MAXTRIES events
for each beam orientation and gets the orientation of each event. Also fixed a
latent bug: an event in IMODE 5 no longer skips the rest of the vector (the
vector code currently always uses IMODE 0).
RF: Add real-diagram channels for fixed-order NLO, through the
hidden option real_channels_x0 in the run_card. Useful for
processes that have new structures opening beyond LO, such as
pp>w+bb [QCD] (W radiating from a final state quark line) or
pp>w+h [QED] (photon induced t-channel contribution). A typical
value would be a few percent or so (e.g., 0.03). See also
Sec.6.3 of 0908.4272 [hep-ph].
OM: real_channels_x0 is now set by default, at output, for the processes
whose real-emission diagrams have propagators that the Born channels
do not follow (0.05, e.g. pp>w+h [QED], pp>w+bb~ [QCD], pp>w+w- [QED];
-1 otherwise, e.g. pp>jj, pp>w+j, pp>tt~j, pp>tt~h [QCD]). The
decision is the same for a resonance and its decay products
(pp>w+j and pp>e+vej). The value is written in the run_card, and
ignored for MC@NLO/LO/merged runs.
OM: The default PDF follows the process when a photon is needed (issue #311):
a photon in the initial state of a proton beam (LO, NLO and the mg7
[beam] pdf) or NLO EW corrections ([QED]) select
NNPDF40_nlo_as_01180_qed (lhaid 335900), at NLO also for a model with a
massive b (NNPDF4.0 has no 4-flavour QED set). The NNPDF4.0 defaults
have no photon. A PDF set by the user is kept.
ZW: MG7 outputs have two reweighting backends: MadtRex ('install madtrex';
matrix-element and PDF/scale reweighting on lhe or lhe_npy events) and the
classic reweighting module (f2py). Both read Cards/reweight_card.dat with the
classic vocabulary ('change' for options, 'set' for parameters). The backend
comes from 'generate_events --reweight-backend=classic|madtrex|auto', the
reweight switch of the launch question (now OFF/ON/classic/madtrex/density,
ON being auto), or the card's new 'change backend' line; auto prefers
MadtRex when it can run the card. The choice is logged and recorded in
Events/<run>/reweighting.json, and a choice that cannot run stops the launch
before the generation. Reweighting runs once, after the systematics;
'--reweight=CARD' now just switches it on with CARD as the reweight card.
MadtRex cards: 'change helicity', 'change fptype', 'change mode LO|pdf',
'change verbose/max_batch/...' replace the former 'set' spellings (still
accepted, with a warning), 'set MT 175' (a parameter by its param_card
name) works, and directives only the classic module knows are an error
instead of being ignored. MG7 outputs get their own default reweight card
documenting both backends. madevent and aMC@NLO outputs are unchanged.
Both backends add their weights to the run's own event file
(Events/<run>/events.lhe.gz, or events.npy for an lhe_npy run reweighted by
MadtRex, as rwgt_<name> columns that npy_to_lhe carries over), after the
systematics weights; MadtRex no longer writes a separate *_reweighted file
(bin/reweight --output still can). MadtRex reads lhe_npy events with
systematics weights (they were refused as "Invalid header for event file").
ZW: Without f2py_compiler set, the f2py installed with the running Python (e.g.
in a virtual environment) is used before f2py3/f2py on the PATH, which may
build modules for another Python version (reweighting then failed with "file
too short" or a missing all_matrix2py module).
OM: MadtRex follow-ups: 'install madtrex' builds with clang/macOS; madtrex refuses a
madspace other than the one it was built against (with the command to rebuild it;
MadGraph then reweights with the classic module) and its installer a too old
madspace; a failing reweighting no longer stops the run, and 'reweight RUN' (after
'launch PROC -i') reweights the events of an earlier run; MadtRex reweight cards
accept '!' comments and multi-index parameters ('set NMIX 1 2 0.5'); the baseline
PDF set and precision of a MadtRex reweighting are those of the run that made the
events (its LHE header), not of the current run_card; a gridpack made with
include_madtrex_source builds madtrex from its sources in bin/reweight.
OM: new command 'install cuttools_iregi' recompiling CutTools and IREGI (vendor/)
with the current fortran compiler. The error raised when CutTools/IREGI were
compiled with another compiler (e.g. after a gfortran update) now points to it.
OM: compute_widths (and the 'auto' widths of a param_card) integrates the
N-body decays (N>2) with madspace instead of MadEvent: 6 s instead of
26 s for the Higgs of heft up to 3 bodies, with a more precise result.
'compute_widths ... --engine=madevent' (or 'DECAY 6 auto
--engine=madevent') selects the former MadEvent integration. Falls
back to MadEvent, with a warning, if madspace cannot do it. The precompiled
standard headers (new 'make PCH=1' of madmatrix, clang only) halve the
build of many small processes: used by mg7 runs of 4 subprocess
directories or more.
OM: compute_widths --nlo without a dedicated code for the model (SMWidth, the
SM) now runs the two-body decays with a colour charge at NLO with MC@NLO
(aMC@NLO fixed order, loop_sm for sm); the decays into 3 bodies or more
stay at LO. 'DECAY 6 auto --nlo --body_decay=3' takes the options of
compute_widths in the param_card ('auto@NLO' stays 'auto --nlo'), also
with 'set decay 6 auto --nlo --body_decay=3'. A width on auto that is
not computed in the same call is now kept in the card (it used to be
dropped when another width was computed). '--nlo=smwidth' and
'--nlo=mcatnlo' choose the code (SMWidth, QCD and EW, or MC@NLO, QCD);
the QCD widths of the two agree to 0.05% for t, W and Z.
OM: compute_widths --nlo --corrections=QED|QCD+QED runs the two-body decays at
NLO electroweak (or QCD and EW) with MC@NLO ([QED] / [QCD QED] of aMC@NLO,
loop_qcd_qed_sm), for every two-body decay and not only the coloured ones.
t, W and Z agree with SMWidth to 0.1% (EW) and 0.13% (QCD+EW, the top
without the finite width of the W); the b is run apart from d and s since
its isospin partner is the top. Bug fix: the NLO runs used the names of the
UFO model for the particles (m-, tt+) and failed for leptons: they use the
names of MG (mu-, ta+).
OM: Bug fix: 'compute_widths --nlo' with SMWidth gave zero for every width
when the path of the param_card was longer than 100 characters (smwidth
cannot read it): it now works on copies with short names, and reports
an error when smwidth gives no width.
OM: Bug fix: the alpha_s of a madspace decay (1 > N, also 'output mg7' of a
decay) was alpha_s(m_Z) at any mass. It is now the 2-loop running up to
the decaying mass, as in MadEvent: e.g. 4.7% lower alpha_s(125 GeV) and
9.7% lower width for h > g g in heft.
OM: Bug fix: 'check_sa.exe perf' of 'output standalone' ignored the alpha_s
of the param card and always used 0.118 (the 'matrix' mode was right).
With --momenta/-e and --dump-me, the matrix elements at user points are
now evaluated with the card alpha_s.
OM: Bug fix: in 'output standalone_fortran' (without --prefix), a plain
'make' in SubProcesses built the python module of the first P directory
only. It now builds all of them, like 'make all'.
OM: multi_run:the merge of the runs (merge.pl) is now done in python, 5 to 10
times faster. Fix the normalisation for event_norm=sum (the merged sample was
N_run times too large) and the <rwgt> weights (systematics/reweighting), which
were not rescaled with the central weight. The relative weights of the events
(bias, MadSpin, ...) are kept instead of being set to the same unit weight.
OM: 'import model' now says when the model keeps a mass for u, d, s, e or mu:
such a mass is negligible at collider energies but brings in Yukawa
vertices and helicity configurations in every process, and
'customize_model' removes it. Silent for a massive b or tau, which is
the 4F scheme and a deliberate choice.
OM: Bug fix: mg7 runs on AMD GPUs (device = ["hip"]) aborted at the start of
the survey with "GPU error: an illegal memory access was encountered".
The GPU matrix element rounds the batch up to a multiple of 256 events
and computes all of them, but only the first 'count' events of the
padded batch received inputs. The flavour index of the padding events
was whatever the fresh allocation held, and cFlavors[iflavor] then read
far out of bounds. The padding events are now copies of the first event.
CUDA has the same code; it did not crash there only because the fresh
memory happened to hold harmless values.
OM: mg7 (madspace) now supports the run_card "me_frame", with the same meaning
as in madevent: it names the external particles whose momentum sum is put
at rest, and the matrix element is evaluated on momenta boosted into that
frame. Only the matrix element sees them -- the cuts, the scales, the
momentum fractions and the written event all keep the momenta as
generated. It only changes the result for a matrix element that is not
Lorentz invariant, i.e. a polarised one, and it is then the frame the
polarisations are defined in; the default [] applies no boost, so every
other run is unaffected and pays nothing. [1, 2] asks for the partonic
centre of mass, which is the frame madevent evaluates in, and [1] is its
equivalent for a 1 -> n decay. madspace generates its momenta in the lab
frame, so unlike madevent it reaches the requested frame in two steps,
through the rest frame of the incoming system: a single boost from the
lab would leave a Wigner rotation behind and pick different polarisation
axes than madevent.
OM: BUG FIX (reweight): for a sample generated with a non-default me_frame,
the matrix elements were still evaluated in the partonic centre of mass.
The frame was read from frame_id, which a run_card read back from the LHE
banner never sets (it always said 6, whatever me_frame was), and which an
mg7 banner has none of -- there me_frame = [] means no boost at all, the
matrix element having seen the lab-frame momenta. It is now read from
me_frame, LO, NLO and mg7 alike. Only polarised samples were affected.
RunCardMG7.from_LO now also carries me_frame over, instead of reporting
it as unsupported. MadSpin likewise takes the frame of an mg7 sample from
its run.me_frame, the default [] meaning the lab frame (no boost) rather
than the partonic centre of mass every other sample defaults to.
OM: BUG FIX (mg7): the initial-state mirror paired each event with a matrix
element evaluated on the momenta *before* the mirror was applied. madspace
covers the beam-swapped copy of an asymmetric initial state by rotating
the event by pi about x (py, pz -> -py, -pz), but only the written event
was rotated; the weight kept the momenta as generated. The two agree only
because |M|^2 is invariant under that rotation -- which a polarised matrix
element is not once it is evaluated in a frame that holds the polarised
particle at rest, because HELAS then quantises the spin along the frame z
axis, the mirror flips it, and the + and - states swap. p p > z{+} j and
p p > z{-} j evaluated in the Z rest frame came out 4485 +- 39 pb against
6060 +- 54 pb, 23 sigma apart, where the symmetry of a pp collider
requires them to be equal; they now agree within 1 sigma. The sum over the
three polarisations was already right, which is why no unpolarised result
is affected (checked: p p > z j unchanged at 12420 +- 69 pb). The matrix
element is now evaluated on the momenta the event is written with, which
is both what madevent does and what the systematics reweighting here
already assumed, since it reads them back out of the event buffer.
OM: 'customize_model' now works for every UFO model: generic options (flavour
scheme, massive leptons, diagonal CKM), commands to fix a parameter or a whole
block ('set decay all 0'), to change a formula, to choose the values written in
param_NAME.dat ('set default'), and --explain to say what each choice removes.
OM: New command 'explain_restriction': report what a restriction card removes.
OM: Bug fix: a parallel build of a generated Source/ could fail and still be
reported as a success. Every library rule read 'cd DIR; make; cd ..', so
the recipe returned the exit status of the final 'cd' -- always 0 -- and a
failed sub-make went unnoticed until a subprocess directory later died
with "No rule to make target '../../lib/libdhelas.a', needed by 'gensym'".
They now use 'cd DIR && make'.
The underlying failure was a 'make -j' race on Fortran module files: the
Majorana-flip DHELAS routines and PDF/pdfwrap_lhapdf.f 'use model_object'
(from MODEL/flavor_couplings.f), the other MODEL sources use it too, and
the ALOHA routines 'use aloha_object' (from DHELAS/aloha_functions.f).
Order-only prerequisites now enforce those three orderings.
OM: 'set madanalysis_path'/'set td_path' no longer raise: the options are gone
with MadAnalysis4, so a value that would only disable them is ignored
silently and any other value warns once and is dropped. Stale entries in an
old configuration file are dropped the same way. This keeps old command
files and old process directories working.
OM: Removed MadAnalysis4 support. The 'install MadAnalysis4' command, the
'madanalysis_path'/'td_path' configuration options, the 'plot' command of
both madevent and aMC@NLO, the plot_card.dat and the topdrawer-based
plotting of the parton/Pythia6/PGS/Delphes outputs are all gone. The
topdrawer ('td') binary it relied on is no longer downloadable, so the
install had been broken for a while. Use MadAnalysis5 or Rivet instead.
The Pythia8 merging (DJR/pt) plots are unaffected: they go through HwU.
OM: Bug fix: OrganizeModelExpression.track_dependant is a class attribute that
analyze_parameters() was extending in place, so the tracked variables of one
UFO model leaked into every model imported afterwards in the same process.
Importing a Gmu-scheme model (no external aEWM1) added 'Gf' to the class
list for good, and a later import of e.g. loop_sm then grouped mdl_MW under
('aEWM1','Gf') instead of ('aEWM1',), reordering mp_intparam_definition.inc.
Each instance now works on its own copy.
NC+DdE+LM+HS+LS: gamma-UPC 1.8 with forward neutron tagging in ultraperipheral
collisions, at LO and NLO.
- new pdlabel edf<y>n<z>n / chf<y>n<z>n: EDFF / ChFF with the neutron tags <y>, <z>
of beam 1 and beam 2 among i (0n+Xn), x (Xn), 0, 1, 2, 3, 4. Pb208, Au197 and O16
(up to 2n) are supported. The tag of a proton beam is ignored.
- edp/edm (chp/chm) in place of edf (chf) give the upper/lower neutron-emission
cross sections, for the uncertainty estimate.
- new photoabsorption and 1n-4n emission cross sections for Pb208, Au197, O16 (and U238,
not enabled yet), and a new interpolation of the photon-photon luminosity grid.
HS+OM: Bug fix (gamma-UPC): at LO, a run with a regular pdlabel followed by a run with a
gamma-UPC pdlabel in the same output kept the dummy library and stopped. libgammaUPC is
now built by Source/makefile only, which follows the pdlabel; under 'make -j' it was
also compiled twice at once ("Cannot rename module file").
HS+OM: Bug fix (gamma-UPC): an error inside gamma-UPC now stops with a non-zero exit status
(it used to report success).