ATLAS Offline Software
Pythia8_FxFx.py
Go to the documentation of this file.
1 
2 try:
3  PYTHIA8_nJetMax
4 except 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")
6 else:
7  print ("PYTHIA8_nJetMax = %i"%PYTHIA8_nJetMax)
8 
9 
10 try:
11  PYTHIA8_qCut
12 except 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")
14 else:
15  print ("PYTHIA8_qCut = %i"%PYTHIA8_qCut)
16 
17 
18 
19 genSeq.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 
31 genSeq.Pythia8.UserHooks += [ 'JetMatchingMadgraph']
32 genSeq.Pythia8.FxFxXS = True
33 if "computeEfficiency" in genSeq.Pythia8.__slots__.keys():
34  genSeq.Pythia8.computeEfficiency = True
35 
36