ATLAS Offline Software
Loading...
Searching...
No Matches
Pythia8_FxFx.py
Go to the documentation of this file.
2try:
3 PYTHIA8_nJetMax
4except RuntimeError:
5 raise RuntimeError("Variable \"PYTHIA8_nJetMax\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
6else:
7 print ("PYTHIA8_nJetMax = %i"%PYTHIA8_nJetMax)
8
9
10try:
11 PYTHIA8_qCut
12except RuntimeError:
13 raise RuntimeError("Variable \"PYTHIA8_qCut\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
14else:
15 print ("PYTHIA8_qCut = %i"%PYTHIA8_qCut)
16
17
18
19genSeq.Pythia8.Commands += ["JetMatching:merge = on",
20 "JetMatching:scheme = 1",
21 "JetMatching:setMad = off",
22 "JetMatching:qCut = %f"%PYTHIA8_qCut,
23 "JetMatching:coneRadius = 1.0",
24 "JetMatching:etaJetMax = 10.0",
25 "JetMatching:doFxFx = on",
26 "JetMatching:qCutME = 8.0",
27 "JetMatching:nJetMax = %i"%PYTHIA8_nJetMax ]
28
29
30
31genSeq.Pythia8.UserHooks += [ 'JetMatchingMadgraph']
32genSeq.Pythia8.FxFxXS = True
33if "computeEfficiency" in genSeq.Pythia8.__slots__.keys():
34 genSeq.Pythia8.computeEfficiency = True
35
36