From ae9fe04f0863ee6524c0ca99a67e2c86902da119 Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Thu, 23 May 2024 16:41:22 -0500 Subject: [PATCH 1/7] Change setting import model to use a placeholder value --- .../addons/cards/process_cards/tHTOllq4f.dat | 2 +- .../cards/process_cards/tHTOllq4fNoSchanW.dat | 2 +- .../addons/cards/process_cards/tHlnu.dat | 2 +- .../addons/cards/process_cards/tHq.dat | 2 +- .../addons/cards/process_cards/tHq4f.dat | 2 +- .../cards/process_cards/tHq4fMatched.dat | 2 +- .../addons/cards/process_cards/tZq.dat | 2 +- .../addons/cards/process_cards/tllq.dat | 2 +- .../addons/cards/process_cards/tllq4f.dat | 2 +- .../cards/process_cards/tllq4fMatched.dat | 2 +- .../process_cards/tllq4fMatchedNoHiggs.dat | 2 +- .../process_cards/tllq4fMatchedNoSchanW.dat | 2 +- .../cards/process_cards/tllq4fNoHiggs.dat | 2 +- .../cards/process_cards/tllq4fNoSchanW.dat | 2 +- .../process_cards/tllq4fNoSchanW1JetOnly.dat | 2 +- .../cards/process_cards/tllq4fNoSchanWJet.dat | 2 +- .../process_cards/tllq4fNoSchanWNoHiggs0p.dat | 2 +- .../process_cards/tllq5fNoSchanWNoHiggs.dat | 2 +- .../addons/cards/process_cards/tllqDecay.dat | 2 +- .../addons/cards/process_cards/tllqJet.dat | 2 +- .../tllqJet4fNoSchanWNoHiggs.dat | 2 +- .../tllqJet5fNoSchanWNoHiggs.dat | 2 +- .../cards/process_cards/tllqNoHiggs.dat | 2 +- .../addons/cards/process_cards/ttH.dat | 2 +- .../addons/cards/process_cards/ttHDecay.dat | 2 +- .../addons/cards/process_cards/ttHJet.dat | 2 +- .../cards/process_cards/ttHJetSMEFTcomp.dat | 2 +- .../addons/cards/process_cards/ttHJetgg.dat | 2 +- .../addons/cards/process_cards/ttHJetgq.dat | 2 +- .../addons/cards/process_cards/ttHJetqq.dat | 2 +- .../addons/cards/process_cards/ttHTOll.dat | 2 +- .../addons/cards/process_cards/ttHTOllJet.dat | 2 +- .../addons/cards/process_cards/ttW.dat | 2 +- .../addons/cards/process_cards/ttW4f.dat | 2 +- .../addons/cards/process_cards/ttWJet.dat | 2 +- .../addons/cards/process_cards/ttWJet4f.dat | 2 +- .../cards/process_cards/ttWJetSMEFTcomp.dat | 2 +- .../addons/cards/process_cards/ttWlnu.dat | 2 +- .../addons/cards/process_cards/ttZ.dat | 2 +- .../addons/cards/process_cards/ttZJet.dat | 2 +- .../cards/process_cards/ttZJetSMEFTcomp.dat | 2 +- .../addons/cards/process_cards/ttbar.dat | 2 +- .../addons/cards/process_cards/ttbarJet.dat | 2 +- .../addons/cards/process_cards/ttgamma.dat | 2 +- .../addons/cards/process_cards/ttll.dat | 2 +- .../addons/cards/process_cards/ttllDecay.dat | 2 +- .../addons/cards/process_cards/ttllJet.dat | 2 +- .../cards/process_cards/ttllNoHiggs.dat | 2 +- .../cards/process_cards/ttllNuNuJet.dat | 2 +- .../process_cards/ttllNuNuJetNoHiggs.dat | 2 +- .../cards/process_cards/ttllNuNuNoHiggs.dat | 2 +- .../addons/cards/process_cards/ttlnu.dat | 2 +- .../addons/cards/process_cards/ttlnuDecay.dat | 2 +- .../addons/cards/process_cards/ttlnuJet.dat | 2 +- .../addons/cards/process_cards/tttt.dat | 2 +- .../addons/cards/process_cards/ttttJet.dat | 2 +- mcgeneration/helpers/Gridpack.py | 20 +++++++++---------- 57 files changed, 65 insertions(+), 67 deletions(-) diff --git a/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat b/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat index fb41277..bb85b13 100644 --- a/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat index f4f9254..29dc43d 100644 --- a/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHlnu.dat b/mcgeneration/addons/cards/process_cards/tHlnu.dat index 8d67b4a..6f8d921 100644 --- a/mcgeneration/addons/cards/process_cards/tHlnu.dat +++ b/mcgeneration/addons/cards/process_cards/tHlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tHq.dat b/mcgeneration/addons/cards/process_cards/tHq.dat index 5c3184b..60e43f5 100644 --- a/mcgeneration/addons/cards/process_cards/tHq.dat +++ b/mcgeneration/addons/cards/process_cards/tHq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/tHq4f.dat b/mcgeneration/addons/cards/process_cards/tHq4f.dat index 16b5c8f..5aba4b4 100644 --- a/mcgeneration/addons/cards/process_cards/tHq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tHq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat b/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat index 2a618d3..46f7c49 100644 --- a/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat +++ b/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tZq.dat b/mcgeneration/addons/cards/process_cards/tZq.dat index c50d567..5831ade 100644 --- a/mcgeneration/addons/cards/process_cards/tZq.dat +++ b/mcgeneration/addons/cards/process_cards/tZq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/tllq.dat b/mcgeneration/addons/cards/process_cards/tllq.dat index eb4eba9..3ac9630 100644 --- a/mcgeneration/addons/cards/process_cards/tllq.dat +++ b/mcgeneration/addons/cards/process_cards/tllq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllq4f.dat b/mcgeneration/addons/cards/process_cards/tllq4f.dat index 273e34d..233d48d 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat index ecfbe30..85e27dc 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat index 6c526ea..b6e66ec 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat index 42e37c0..b45d903 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat index df16328..6aabdcc 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat index 03b80b0..3277d80 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat index dbf36ea..cf6ac44 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat index d18a44d..911b7a1 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat index 874acaf..6855af7 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat index b8f5f26..3c16ae3 100644 --- a/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqDecay.dat b/mcgeneration/addons/cards/process_cards/tllqDecay.dat index 34268a0..9ba4016 100644 --- a/mcgeneration/addons/cards/process_cards/tllqDecay.dat +++ b/mcgeneration/addons/cards/process_cards/tllqDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqJet.dat b/mcgeneration/addons/cards/process_cards/tllqJet.dat index 98aee9b..54a3c72 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat index f8400b8..0751149 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat index 155f269..587c5f5 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat index b5c8da4..785197d 100644 --- a/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttH.dat b/mcgeneration/addons/cards/process_cards/ttH.dat index d5ba397..0b18a7d 100644 --- a/mcgeneration/addons/cards/process_cards/ttH.dat +++ b/mcgeneration/addons/cards/process_cards/ttH.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define w = w+ w- diff --git a/mcgeneration/addons/cards/process_cards/ttHDecay.dat b/mcgeneration/addons/cards/process_cards/ttHDecay.dat index e61fb6e..888ae63 100644 --- a/mcgeneration/addons/cards/process_cards/ttHDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttHDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ h DIM6=1, t > w+ j DIM6=1, t~ > w- j DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttHJet.dat b/mcgeneration/addons/cards/process_cards/ttHJet.dat index 6ee1261..a1b3af9 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ h DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat index e5c8efd..76edf38 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ h FCNC=0 QCD=2 QED=1 DIM6=2 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetgg.dat b/mcgeneration/addons/cards/process_cards/ttHJetgg.dat index cf911d0..3900416 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetgg.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetgg.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate g g > t t~ h DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetgq.dat b/mcgeneration/addons/cards/process_cards/ttHJetgq.dat index 178b24e..533ac00 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetgq.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetgq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define q = u u~ d d~ c c~ s s~ b b~ diff --git a/mcgeneration/addons/cards/process_cards/ttHJetqq.dat b/mcgeneration/addons/cards/process_cards/ttHJetqq.dat index ad67ab8..613aac1 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetqq.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetqq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define q = u u~ d d~ c c~ s s~ b b~ diff --git a/mcgeneration/addons/cards/process_cards/ttHTOll.dat b/mcgeneration/addons/cards/process_cards/ttHTOll.dat index e6d873a..3f372e2 100644 --- a/mcgeneration/addons/cards/process_cards/ttHTOll.dat +++ b/mcgeneration/addons/cards/process_cards/ttHTOll.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define w = w+ w- diff --git a/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat b/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat index c452979..92b9bfb 100644 --- a/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttW.dat b/mcgeneration/addons/cards/process_cards/ttW.dat index a5d3c2e..66c017c 100644 --- a/mcgeneration/addons/cards/process_cards/ttW.dat +++ b/mcgeneration/addons/cards/process_cards/ttW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttW4f.dat b/mcgeneration/addons/cards/process_cards/ttW4f.dat index cf4e095..052ed7c 100644 --- a/mcgeneration/addons/cards/process_cards/ttW4f.dat +++ b/mcgeneration/addons/cards/process_cards/ttW4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ define l- = e- mu- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/ttWJet.dat b/mcgeneration/addons/cards/process_cards/ttWJet.dat index a060058..5e21d05 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttWJet4f.dat b/mcgeneration/addons/cards/process_cards/ttWJet4f.dat index 3f80b99..40d6132 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJet4f.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJet4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define l+ = e+ mu+ define l- = e- mu- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat index cd53ae3..ac7cd18 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttWlnu.dat b/mcgeneration/addons/cards/process_cards/ttWlnu.dat index 2da3969..70276fe 100644 --- a/mcgeneration/addons/cards/process_cards/ttWlnu.dat +++ b/mcgeneration/addons/cards/process_cards/ttWlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttZ.dat b/mcgeneration/addons/cards/process_cards/ttZ.dat index 0c3734c..5aa92f7 100644 --- a/mcgeneration/addons/cards/process_cards/ttZ.dat +++ b/mcgeneration/addons/cards/process_cards/ttZ.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttZJet.dat b/mcgeneration/addons/cards/process_cards/ttZJet.dat index e228230..194ede4 100644 --- a/mcgeneration/addons/cards/process_cards/ttZJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttZJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat index 68986a7..cf875cc 100644 --- a/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttbar.dat b/mcgeneration/addons/cards/process_cards/ttbar.dat index e5aa877..735a8d7 100644 --- a/mcgeneration/addons/cards/process_cards/ttbar.dat +++ b/mcgeneration/addons/cards/process_cards/ttbar.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttbarJet.dat b/mcgeneration/addons/cards/process_cards/ttbarJet.dat index 9c3a4d1..2a77c4c 100644 --- a/mcgeneration/addons/cards/process_cards/ttbarJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttbarJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttgamma.dat b/mcgeneration/addons/cards/process_cards/ttgamma.dat index ed5d4a3..3af5a4a 100644 --- a/mcgeneration/addons/cards/process_cards/ttgamma.dat +++ b/mcgeneration/addons/cards/process_cards/ttgamma.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttll.dat b/mcgeneration/addons/cards/process_cards/ttll.dat index d5a51bb..deece5d 100644 --- a/mcgeneration/addons/cards/process_cards/ttll.dat +++ b/mcgeneration/addons/cards/process_cards/ttll.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllDecay.dat b/mcgeneration/addons/cards/process_cards/ttllDecay.dat index 1b19d4a..857dc84 100644 --- a/mcgeneration/addons/cards/process_cards/ttllDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttllDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllJet.dat b/mcgeneration/addons/cards/process_cards/ttllJet.dat index c2f6658..5e155d1 100644 --- a/mcgeneration/addons/cards/process_cards/ttllJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttllJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat index 2eb2e81..850be99 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat index ae3e495..af6218a 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat index 3bf3f4e..7c11a5e 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat index 53ca147..3478a74 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnu.dat b/mcgeneration/addons/cards/process_cards/ttlnu.dat index 2b763db..35a5272 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnu.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat b/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat index 24547ab..b4307c0 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnuJet.dat b/mcgeneration/addons/cards/process_cards/ttlnuJet.dat index 261eceb..09756de 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnuJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnuJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tttt.dat b/mcgeneration/addons/cards/process_cards/tttt.dat index abf3505..fe83574 100644 --- a/mcgeneration/addons/cards/process_cards/tttt.dat +++ b/mcgeneration/addons/cards/process_cards/tttt.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ t t~ DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttttJet.dat b/mcgeneration/addons/cards/process_cards/ttttJet.dat index c0c3ae3..7ac4726 100644 --- a/mcgeneration/addons/cards/process_cards/ttttJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttttJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model dim6top_LO_UFO +import model PLACEHOLDER_MODEL define p = p b b~ define j = p generate p p > t t~ t t~ DIM6=1 @0 diff --git a/mcgeneration/helpers/Gridpack.py b/mcgeneration/helpers/Gridpack.py index d773de9..8a8e408 100644 --- a/mcgeneration/helpers/Gridpack.py +++ b/mcgeneration/helpers/Gridpack.py @@ -190,21 +190,19 @@ def saveProcessCard(self,indent=0): sed_str = "s|DIM6=1|{new}|g".format(new=self.ops['coupling_string']) run_process(['sed','-i','-e',sed_str,fpath]) + old = "PLACEHOLDER_MODEL" if self.ops['use_coupling_model']: # Replace the default dim6 model with the 'each_coupling_order' version # NOTE: This will overwrite the 'replace_model' option - print "{ind}Using each_coupling_order model!".format(ind=indent_str) - old = "dim6top_LO_UFO" new = "dim6top_LO_UFO_each_coupling_order" - sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=new) - run_process(['sed','-i','-e',sed_str,fpath]) - - if self.ops['replace_model']: - rep_model = self.ops['replace_model'] - print "{ind}Using {model} model".format(model=rep_model,ind=indent_str) - old = "dim6top_LO_UFO" - sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=rep_model) - run_process(['sed','-i','-e',sed_str,fpath]) + elif self.ops['replace_model']: + new = self.ops['replace_model'] + else: + # Use a default model if custom one not specified + new = "dim6top_LO_UFO" + print "{ind}Using {model} model".format(model=new,ind=indent_str) + sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=new) + run_process(['sed','-i','-e',sed_str,fpath]) # Replace SUBSETUP in the process card with the correct name sed_str = "s|SUBSETUP|{setup}|g".format(setup=setup) From 2a80ce03ad7972967bb49ed9353c6843994f32bd Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 12:50:39 -0500 Subject: [PATCH 2/7] Revert PLACEHOLDER_MODEL name in process cards --- mcgeneration/addons/cards/process_cards/tHTOllq4f.dat | 2 +- mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat | 2 +- mcgeneration/addons/cards/process_cards/tHlnu.dat | 2 +- mcgeneration/addons/cards/process_cards/tHq.dat | 2 +- mcgeneration/addons/cards/process_cards/tHq4f.dat | 2 +- mcgeneration/addons/cards/process_cards/tHq4fMatched.dat | 2 +- mcgeneration/addons/cards/process_cards/tZq.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq4f.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq4fMatched.dat | 2 +- .../addons/cards/process_cards/tllq4fMatchedNoHiggs.dat | 2 +- .../addons/cards/process_cards/tllq4fMatchedNoSchanW.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat | 2 +- .../addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat | 2 +- mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat | 2 +- .../addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat | 2 +- .../addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/tllqDecay.dat | 2 +- mcgeneration/addons/cards/process_cards/tllqJet.dat | 2 +- .../addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat | 2 +- .../addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/ttH.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHDecay.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHJetgg.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHJetgq.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHJetqq.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHTOll.dat | 2 +- mcgeneration/addons/cards/process_cards/ttHTOllJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttW.dat | 2 +- mcgeneration/addons/cards/process_cards/ttW4f.dat | 2 +- mcgeneration/addons/cards/process_cards/ttWJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttWJet4f.dat | 2 +- mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat | 2 +- mcgeneration/addons/cards/process_cards/ttWlnu.dat | 2 +- mcgeneration/addons/cards/process_cards/ttZ.dat | 2 +- mcgeneration/addons/cards/process_cards/ttZJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat | 2 +- mcgeneration/addons/cards/process_cards/ttbar.dat | 2 +- mcgeneration/addons/cards/process_cards/ttbarJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttgamma.dat | 2 +- mcgeneration/addons/cards/process_cards/ttll.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllDecay.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat | 2 +- mcgeneration/addons/cards/process_cards/ttlnu.dat | 2 +- mcgeneration/addons/cards/process_cards/ttlnuDecay.dat | 2 +- mcgeneration/addons/cards/process_cards/ttlnuJet.dat | 2 +- mcgeneration/addons/cards/process_cards/tttt.dat | 2 +- mcgeneration/addons/cards/process_cards/ttttJet.dat | 2 +- 56 files changed, 56 insertions(+), 56 deletions(-) diff --git a/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat b/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat index bb85b13..fb41277 100644 --- a/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tHTOllq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat index 29dc43d..f4f9254 100644 --- a/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tHTOllq4fNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHlnu.dat b/mcgeneration/addons/cards/process_cards/tHlnu.dat index 6f8d921..8d67b4a 100644 --- a/mcgeneration/addons/cards/process_cards/tHlnu.dat +++ b/mcgeneration/addons/cards/process_cards/tHlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tHq.dat b/mcgeneration/addons/cards/process_cards/tHq.dat index 60e43f5..5c3184b 100644 --- a/mcgeneration/addons/cards/process_cards/tHq.dat +++ b/mcgeneration/addons/cards/process_cards/tHq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/tHq4f.dat b/mcgeneration/addons/cards/process_cards/tHq4f.dat index 5aba4b4..16b5c8f 100644 --- a/mcgeneration/addons/cards/process_cards/tHq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tHq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat b/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat index 46f7c49..2a618d3 100644 --- a/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat +++ b/mcgeneration/addons/cards/process_cards/tHq4fMatched.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tZq.dat b/mcgeneration/addons/cards/process_cards/tZq.dat index 5831ade..c50d567 100644 --- a/mcgeneration/addons/cards/process_cards/tZq.dat +++ b/mcgeneration/addons/cards/process_cards/tZq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/tllq.dat b/mcgeneration/addons/cards/process_cards/tllq.dat index 3ac9630..eb4eba9 100644 --- a/mcgeneration/addons/cards/process_cards/tllq.dat +++ b/mcgeneration/addons/cards/process_cards/tllq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllq4f.dat b/mcgeneration/addons/cards/process_cards/tllq4f.dat index 233d48d..273e34d 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4f.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat index 85e27dc..ecfbe30 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatched.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat index b6e66ec..6c526ea 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat index b45d903..42e37c0 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fMatchedNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat index 6aabdcc..df16328 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat index 3277d80..03b80b0 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat index cf6ac44..dbf36ea 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanW1JetOnly.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat index 911b7a1..d18a44d 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat index 6855af7..874acaf 100644 --- a/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat +++ b/mcgeneration/addons/cards/process_cards/tllq4fNoSchanWNoHiggs0p.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat index 3c16ae3..b8f5f26 100644 --- a/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllq5fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqDecay.dat b/mcgeneration/addons/cards/process_cards/tllqDecay.dat index 9ba4016..34268a0 100644 --- a/mcgeneration/addons/cards/process_cards/tllqDecay.dat +++ b/mcgeneration/addons/cards/process_cards/tllqDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqJet.dat b/mcgeneration/addons/cards/process_cards/tllqJet.dat index 54a3c72..98aee9b 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat index 0751149..f8400b8 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet4fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ ta+ define l- = e- mu- ta- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat index 587c5f5..155f269 100644 --- a/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqJet5fNoSchanWNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat b/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat index 785197d..b5c8da4 100644 --- a/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/tllqNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttH.dat b/mcgeneration/addons/cards/process_cards/ttH.dat index 0b18a7d..d5ba397 100644 --- a/mcgeneration/addons/cards/process_cards/ttH.dat +++ b/mcgeneration/addons/cards/process_cards/ttH.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define w = w+ w- diff --git a/mcgeneration/addons/cards/process_cards/ttHDecay.dat b/mcgeneration/addons/cards/process_cards/ttHDecay.dat index 888ae63..e61fb6e 100644 --- a/mcgeneration/addons/cards/process_cards/ttHDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttHDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ h DIM6=1, t > w+ j DIM6=1, t~ > w- j DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttHJet.dat b/mcgeneration/addons/cards/process_cards/ttHJet.dat index a1b3af9..6ee1261 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ h DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat index 76edf38..e5c8efd 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ h FCNC=0 QCD=2 QED=1 DIM6=2 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetgg.dat b/mcgeneration/addons/cards/process_cards/ttHJetgg.dat index 3900416..cf911d0 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetgg.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetgg.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate g g > t t~ h DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttHJetgq.dat b/mcgeneration/addons/cards/process_cards/ttHJetgq.dat index 533ac00..178b24e 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetgq.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetgq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define q = u u~ d d~ c c~ s s~ b b~ diff --git a/mcgeneration/addons/cards/process_cards/ttHJetqq.dat b/mcgeneration/addons/cards/process_cards/ttHJetqq.dat index 613aac1..ad67ab8 100644 --- a/mcgeneration/addons/cards/process_cards/ttHJetqq.dat +++ b/mcgeneration/addons/cards/process_cards/ttHJetqq.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define q = u u~ d d~ c c~ s s~ b b~ diff --git a/mcgeneration/addons/cards/process_cards/ttHTOll.dat b/mcgeneration/addons/cards/process_cards/ttHTOll.dat index 3f372e2..e6d873a 100644 --- a/mcgeneration/addons/cards/process_cards/ttHTOll.dat +++ b/mcgeneration/addons/cards/process_cards/ttHTOll.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define w = w+ w- diff --git a/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat b/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat index 92b9bfb..c452979 100644 --- a/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttHTOllJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttW.dat b/mcgeneration/addons/cards/process_cards/ttW.dat index 66c017c..a5d3c2e 100644 --- a/mcgeneration/addons/cards/process_cards/ttW.dat +++ b/mcgeneration/addons/cards/process_cards/ttW.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttW4f.dat b/mcgeneration/addons/cards/process_cards/ttW4f.dat index 052ed7c..cf4e095 100644 --- a/mcgeneration/addons/cards/process_cards/ttW4f.dat +++ b/mcgeneration/addons/cards/process_cards/ttW4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ define l- = e- mu- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/ttWJet.dat b/mcgeneration/addons/cards/process_cards/ttWJet.dat index 5e21d05..a060058 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttWJet4f.dat b/mcgeneration/addons/cards/process_cards/ttWJet4f.dat index 40d6132..3f80b99 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJet4f.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJet4f.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define l+ = e+ mu+ define l- = e- mu- define vl = ve vm vt diff --git a/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat index ac7cd18..cd53ae3 100644 --- a/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttWJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttWlnu.dat b/mcgeneration/addons/cards/process_cards/ttWlnu.dat index 70276fe..2da3969 100644 --- a/mcgeneration/addons/cards/process_cards/ttWlnu.dat +++ b/mcgeneration/addons/cards/process_cards/ttWlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttZ.dat b/mcgeneration/addons/cards/process_cards/ttZ.dat index 5aa92f7..0c3734c 100644 --- a/mcgeneration/addons/cards/process_cards/ttZ.dat +++ b/mcgeneration/addons/cards/process_cards/ttZ.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttZJet.dat b/mcgeneration/addons/cards/process_cards/ttZJet.dat index 194ede4..e228230 100644 --- a/mcgeneration/addons/cards/process_cards/ttZJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttZJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat b/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat index cf875cc..68986a7 100644 --- a/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat +++ b/mcgeneration/addons/cards/process_cards/ttZJetSMEFTcomp.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ diff --git a/mcgeneration/addons/cards/process_cards/ttbar.dat b/mcgeneration/addons/cards/process_cards/ttbar.dat index 735a8d7..e5aa877 100644 --- a/mcgeneration/addons/cards/process_cards/ttbar.dat +++ b/mcgeneration/addons/cards/process_cards/ttbar.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttbarJet.dat b/mcgeneration/addons/cards/process_cards/ttbarJet.dat index 2a77c4c..9c3a4d1 100644 --- a/mcgeneration/addons/cards/process_cards/ttbarJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttbarJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttgamma.dat b/mcgeneration/addons/cards/process_cards/ttgamma.dat index 3af5a4a..ed5d4a3 100644 --- a/mcgeneration/addons/cards/process_cards/ttgamma.dat +++ b/mcgeneration/addons/cards/process_cards/ttgamma.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ DIM6=1 @0 diff --git a/mcgeneration/addons/cards/process_cards/ttll.dat b/mcgeneration/addons/cards/process_cards/ttll.dat index deece5d..d5a51bb 100644 --- a/mcgeneration/addons/cards/process_cards/ttll.dat +++ b/mcgeneration/addons/cards/process_cards/ttll.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllDecay.dat b/mcgeneration/addons/cards/process_cards/ttllDecay.dat index 857dc84..1b19d4a 100644 --- a/mcgeneration/addons/cards/process_cards/ttllDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttllDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllJet.dat b/mcgeneration/addons/cards/process_cards/ttllJet.dat index 5e155d1..c2f6658 100644 --- a/mcgeneration/addons/cards/process_cards/ttllJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttllJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat index 850be99..2eb2e81 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat index af6218a..ae3e495 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat index 7c11a5e..3bf3f4e 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuJetNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat b/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat index 3478a74..53ca147 100644 --- a/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat +++ b/mcgeneration/addons/cards/process_cards/ttllNuNuNoHiggs.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnu.dat b/mcgeneration/addons/cards/process_cards/ttlnu.dat index 35a5272..2b763db 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnu.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnu.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat b/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat index b4307c0..24547ab 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnuDecay.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/ttlnuJet.dat b/mcgeneration/addons/cards/process_cards/ttlnuJet.dat index 09756de..261eceb 100644 --- a/mcgeneration/addons/cards/process_cards/ttlnuJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttlnuJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p define l+ = e+ mu+ ta+ diff --git a/mcgeneration/addons/cards/process_cards/tttt.dat b/mcgeneration/addons/cards/process_cards/tttt.dat index fe83574..abf3505 100644 --- a/mcgeneration/addons/cards/process_cards/tttt.dat +++ b/mcgeneration/addons/cards/process_cards/tttt.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ t t~ DIM6=1 diff --git a/mcgeneration/addons/cards/process_cards/ttttJet.dat b/mcgeneration/addons/cards/process_cards/ttttJet.dat index 7ac4726..c0c3ae3 100644 --- a/mcgeneration/addons/cards/process_cards/ttttJet.dat +++ b/mcgeneration/addons/cards/process_cards/ttttJet.dat @@ -28,7 +28,7 @@ set loop_color_flows False set gauge unitary set complex_mass_scheme False set max_npoint_for_channel 0 -import model PLACEHOLDER_MODEL +import model dim6top_LO_UFO define p = p b b~ define j = p generate p p > t t~ t t~ DIM6=1 @0 From d0500c2394c154bee765cada6f50cd38f82669ca Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 13:00:21 -0500 Subject: [PATCH 3/7] Revert PLACEHOLDER_MODEL change in Gridpack.py --- mcgeneration/helpers/Gridpack.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/mcgeneration/helpers/Gridpack.py b/mcgeneration/helpers/Gridpack.py index 8a8e408..d773de9 100644 --- a/mcgeneration/helpers/Gridpack.py +++ b/mcgeneration/helpers/Gridpack.py @@ -190,19 +190,21 @@ def saveProcessCard(self,indent=0): sed_str = "s|DIM6=1|{new}|g".format(new=self.ops['coupling_string']) run_process(['sed','-i','-e',sed_str,fpath]) - old = "PLACEHOLDER_MODEL" if self.ops['use_coupling_model']: # Replace the default dim6 model with the 'each_coupling_order' version # NOTE: This will overwrite the 'replace_model' option + print "{ind}Using each_coupling_order model!".format(ind=indent_str) + old = "dim6top_LO_UFO" new = "dim6top_LO_UFO_each_coupling_order" - elif self.ops['replace_model']: - new = self.ops['replace_model'] - else: - # Use a default model if custom one not specified - new = "dim6top_LO_UFO" - print "{ind}Using {model} model".format(model=new,ind=indent_str) - sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=new) - run_process(['sed','-i','-e',sed_str,fpath]) + sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=new) + run_process(['sed','-i','-e',sed_str,fpath]) + + if self.ops['replace_model']: + rep_model = self.ops['replace_model'] + print "{ind}Using {model} model".format(model=rep_model,ind=indent_str) + old = "dim6top_LO_UFO" + sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=rep_model) + run_process(['sed','-i','-e',sed_str,fpath]) # Replace SUBSETUP in the process card with the correct name sed_str = "s|SUBSETUP|{setup}|g".format(setup=setup) From 2f095d9200f8e9640f80f688790e651888477b56 Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 13:15:32 -0500 Subject: [PATCH 4/7] Change replace_model option to require two strings indicating the old and new model name to be replaced --- mcgeneration/helpers/Gridpack.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mcgeneration/helpers/Gridpack.py b/mcgeneration/helpers/Gridpack.py index d773de9..631f70c 100644 --- a/mcgeneration/helpers/Gridpack.py +++ b/mcgeneration/helpers/Gridpack.py @@ -62,7 +62,7 @@ def __init__(self,**kwargs): 'save_diagrams': False, # Runs a modified version of the generation script that exits early to keep feynman diagrams 'use_coupling_model': False, # Use the 'coupling_orders' version of the dim6 model 'coupling_string': None, # If not None replaces "DIM6=1" with the specified string in the process card - 'replace_model': None, # If not None overwrites the import model line of the process card + 'replace_model': None, # If not None needs to be a tuple/list of length 2 that specifies the old and new model to be replaced 'flavor_scheme': 5, 'default_limits': [-10,10], } @@ -200,10 +200,10 @@ def saveProcessCard(self,indent=0): run_process(['sed','-i','-e',sed_str,fpath]) if self.ops['replace_model']: - rep_model = self.ops['replace_model'] - print "{ind}Using {model} model".format(model=rep_model,ind=indent_str) - old = "dim6top_LO_UFO" - sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=rep_model) + old = self.ops['replace_model'][0] + new = self.ops['replace_model'][1] + print "{ind}Using {model} model".format(model=old,ind=indent_str) + sed_str = "s|import model {old}|import model {new}|g".format(old=old,new=new) run_process(['sed','-i','-e',sed_str,fpath]) # Replace SUBSETUP in the process card with the correct name @@ -498,10 +498,16 @@ def setup(self,indent=0): print "[ERROR] Invalid BatchType for saving diagrams: {btype}".format(btype=self.ops['btype']) return False + if self.ops['replace_model'] and len(self.ops['replace_model']) != 2: + # Note: This won't catch the very unlikely edge case where the input is a string of length 2 + print "[ERROR] Invalid option for 'replace_model': {op}".format(op=self.ops['replace_model']) + return False + if self.ops['stype'] == ScanType.NONE: # Don't do any reweighting self.scan_pts = [] + print "{0:>{w}}Setup gridpack: {setup}...".format("",setup=setup,w=4*indent) # Set the random seed adding extra events to the pilotrun From 9c75054c7d35300cf83f619576fa96fa58c0eb7d Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 13:25:46 -0500 Subject: [PATCH 5/7] Update configure_gridpack to work with new replace_model implementation --- mcgeneration/configure_gridpack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcgeneration/configure_gridpack.py b/mcgeneration/configure_gridpack.py index bb6d028..3fdce7d 100644 --- a/mcgeneration/configure_gridpack.py +++ b/mcgeneration/configure_gridpack.py @@ -471,9 +471,9 @@ def main(): gridpack = Gridpack(stype=stype,btype=btype,default_limits=[-20.0,20.0]) gridpack.setOptions(runcard_ops=rc_ops) # For using a different model - gridpack.setOptions(coupling_string="FCNC=0 DIM6=1",replace_model="dim6top_LO_UFO_19-05-20") + gridpack.setOptions(coupling_string="FCNC=0 DIM6=1",replace_model=["dim6top_LO_UFO","dim6top_LO_UFO_19-05-20"]) # For creating feynman diagrams - #gridpack.setOptions(btype=BatchType.LOCAL,save_diagrams=True,replace_model="dim6top_LO_UFO_each_coupling_order_v2020-05-19") + #gridpack.setOptions(btype=BatchType.LOCAL,save_diagrams=True,replace_model=["dim6top_LO_UFO","dim6top_LO_UFO_each_coupling_order_v2020-05-19"]) #gridpack.setOptions(coupling_string="FCNC=0 DIM6^2=1 DIM6_ctZ^2=1 DIM6_ctW^2=1") # For example if stype == ScanType.SLINSPACE: From c23f0aad835f0ae2cd499a44f302110599b6df73 Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 13:27:44 -0500 Subject: [PATCH 6/7] Update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f7afe5d..f5aaeb8 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,7 @@ This repository contains the files that are necessary for setting up a `genprodu - If you are running the script from `cmsconnect`, it will create the directory in your `/local-scratch` area - Files in `/local-scratch` are deleted 30 days after their last modification, so if you would like to keep your gridpacks, be sure to move them to a permanent location after they are completed +# Gridpack Options: +- The `replace_model` option expects a list of length 2. The first element is the name of the old Madgraph model as it exists in the process card and the second element is the name of the new model that should replace the old one. + - Ex: `gp.setOptions(replace_model=['dim6top_LO_UFO','smloop'])` From 1a53f3d49f86ed11fb9adb9c7f1d00e12744b131 Mon Sep 17 00:00:00 2001 From: Andrew42 Date: Mon, 24 Jun 2024 13:33:54 -0500 Subject: [PATCH 7/7] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5aaeb8..85cdc8f 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,9 @@ This repository contains the files that are necessary for setting up a `genprodu # Gridpack Options: - The `replace_model` option expects a list of length 2. The first element is the name of the old Madgraph model as it exists in the process card and the second element is the name of the new model that should replace the old one. - - Ex: `gp.setOptions(replace_model=['dim6top_LO_UFO','smloop'])` - +```python +from helpers.Gridpack import Gridpack +gp = Gridpack(replace_model=['dim6top_LO_UFO','smloop']) +# Alternatively via setOptions +gp.setOptions(replace_model=['dim6top_LO_UFO','smloop']) +```