ATLAS Offline Software
Loading...
Searching...
No Matches
Pythia8_FxFx_A14mod.py
Go to the documentation of this file.
2#
3# This version changes the tuned settings of A14 slightly in favour of
4# the recommended FxFx settings
5#
6
7try:
8 PYTHIA8_nJetMax
9except RuntimeError:
10 raise RuntimeError("Variable \"PYTHIA8_nJetMax\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
11else:
12 print("PYTHIA8_nJetMax = %i"%PYTHIA8_nJetMax)
13
14
15try:
16 PYTHIA8_qCut
17except RuntimeError:
18 raise RuntimeError("Variable \"PYTHIA8_qCut\" is not defined, this is needed to configure Pythia8 FxFx matching settings. Please define it in your jobOptions")
19else:
20 print("PYTHIA8_qCut = %i"%PYTHIA8_qCut)
21
22
23
24genSeq.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", #explicit setting of kt-merging for FxFx (also imposed by Py8-FxFx inteface)
34 "JetMatching:slowJetPower = 1", #explicit setting of kt-merging for FxFx (also imposed by Py8-FxFx inteface)
35 "JetMatching:nQmatch = 5", #4 corresponds to 4-flavour scheme (no matching of b-quarks), 5 for 5-flavour scheme
36 "JetMatching:eTjetMin = %f"%PYTHIA8_qCut, #This is 20 in the Pythia default, it should be <= qCut
37 "SpaceShower:rapidityOrder = off", # FxFx + A14 prescription
38 "SpaceShower:pTmaxFudge = 1.0", # FxFx + A14 prescription
39]
40
41
42genSeq.Pythia8.UserHooks += [ 'JetMatchingMadgraph']
43genSeq.Pythia8.FxFxXS = True
44if "computeEfficiency" in genSeq.Pythia8.__slots__.keys():
45 genSeq.Pythia8.computeEfficiency = True
46
void print(char *figname, TCanvas *c1)