10 raise RuntimeError(
"Variable \"PYTHIA8_nJetMax\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
12 print(
"PYTHIA8_nJetMax = %i"%PYTHIA8_nJetMax)
18 raise RuntimeError(
"Variable \"PYTHIA8_qCut\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
20 print(
"PYTHIA8_qCut = %i"%PYTHIA8_qCut)
24 genSeq.Pythia8.Commands += [
"JetMatching:merge = on",
25 "JetMatching:scheme = 1",
26 "JetMatching:setMad = off",
27 "JetMatching:qCut = %f"%PYTHIA8_qCut,
28 "JetMatching:coneRadius = 1.0",
29 "JetMatching:etaJetMax = 10.0",
30 "JetMatching:doFxFx = on",
31 "JetMatching:qCutME = 8.0",
32 "JetMatching:nJetMax = %i"%PYTHIA8_nJetMax,
33 "JetMatching:jetAlgorithm = 2",
34 "JetMatching:slowJetPower = 1",
35 "JetMatching:nQmatch = 5",
36 "JetMatching:eTjetMin = %f"%PYTHIA8_qCut,
37 "SpaceShower:rapidityOrder = off",
38 "SpaceShower:pTmaxFudge = 1.0",
42 genSeq.Pythia8.UserHooks += [
'JetMatchingMadgraph']
43 genSeq.Pythia8.FxFxXS =
True
44 if "computeEfficiency" in genSeq.Pythia8.__slots__.keys():
45 genSeq.Pythia8.computeEfficiency =
True