9 h7finalStates = {
"ggTOee":
"Electron",
"ggTOmumu":
"Muon",
"ggTOtautau":
"Tau" }
12 info = runArgs.jobConfig[0].
split(
"_")
13 assert (info[1] ==
"BudnevQED") ,
"JobOption name does not contain BudnevQED"
14 assert (info[2]
in h7finalStates),
"Unknown final state key %s" % info[2]
17 fs = h7finalStates[info[2]]
19 assert (len(mrange) >0),
"Cannot extract mass range from the JO"
24 include(
"Herwig7_i/Herwig7_BuiltinME.py")
27 include(
"Herwig7_i/Herwig7_QED_EvtGen_Common.py")
31 set QCDCuts:MHatMin """+
str(mrange[0])+
"""*GeV\n"""
32 if len(mrange) > 1
and mrange[1]!=
'':
33 command +=
"set QCDCuts:MHatMax "+
str(mrange[1])+
"*GeV\n"
37 set LeptonKtCut:MinKT 2*GeV # save minimal setting, override in upstream jo if pT-filter used
38 cd /Herwig/MatrixElements
39 insert SimpleQCD:MatrixElements 0 /Herwig/MatrixElements/MEgg2ff
40 set /Herwig/MatrixElements/MEgg2ff:Process """+
str(fs)+
"""
44 Herwig7Config.add_commands(command)