4 raise RuntimeError(
"Variable \"PYTHIA8_nJetMax\" is not defined, this is needed to configure Pythia8 CKKW-L kT merging settings. Please define it in your jobOptions")
6 print (
"PYTHIA8_nJetMax = %i" % PYTHIA8_nJetMax)
11 raise RuntimeError(
"Variable \"PYTHIA8_Process\" is not defined, this is needed to configure Pythia8 CKKW-L kT merging settings. Please define it in your jobOptions")
13 print (
"PYTHIA8_Process = %s" % PYTHIA8_Process)
18 raise RuntimeError(
"Variable \"TMS\" is not defined, this is needed to configure Pythia8 CKKW-L kT merging settings. Please define it in your jobOptions")
20 print (
"PYTHIA8_TMS = %f" % PYTHIA8_TMS)
25 raise RuntimeError(
"Variable \"Dparameter\" is not defined, this is needed to configure Pythia8 CKKW-L kT merging settings. Please define it in your jobOptions")
27 print (
"PYTHIA8_Dparameter = %f" % PYTHIA8_Dparameter)
32 raise RuntimeError(
"Variable \"PYTHIA8_nQuarksMerge\" is not defined, this is needed to configure Pythia8 CKKW-L kT merging settings. Please define it in your jobOptions")
34 print (
"PYTHIA8_nQuarksMerge = %i" % PYTHIA8_nQuarksMerge)
36 genSeq.Pythia8.Commands += [
"Merging:doKTMerging = on",
38 "Merging:nJetMax = %i" % PYTHIA8_nJetMax,
39 "Merging:Process = %s" % PYTHIA8_Process,
40 "Merging:TMS = %f" % PYTHIA8_TMS,
41 "Merging:Dparameter = %f" % PYTHIA8_Dparameter,
42 "Merging:nQuarksMerge = %i" % PYTHIA8_nQuarksMerge]
44 if "computeEfficiency" in genSeq.Pythia8.__slots__.keys():
45 genSeq.Pythia8.computeEfficiency =
True