From 52d16d3a86d41900870be6cccfbf1f93211892de Mon Sep 17 00:00:00 2001 From: "Ewelina.Maria.Lobodzinska" Date: Mon, 31 Jan 2022 10:24:55 +0100 Subject: [PATCH] Pythia8: update Pythia8_A3_NNPDF23LO_Common fit parameters --- .../common/Pythia8_A3_NNPDF23LO_Common.py | 29 +++++++------------ 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/Generators/Pythia8_i/share/common/Pythia8_A3_NNPDF23LO_Common.py b/Generators/Pythia8_i/share/common/Pythia8_A3_NNPDF23LO_Common.py index 3d5312aff77..38979db40e9 100644 --- a/Generators/Pythia8_i/share/common/Pythia8_A3_NNPDF23LO_Common.py +++ b/Generators/Pythia8_i/share/common/Pythia8_A3_NNPDF23LO_Common.py @@ -7,7 +7,7 @@ include("Pythia8_i/Pythia8_Base_Fragment.py") genSeq.Pythia8.Commands += [ "Tune:ee = 7", "Tune:pp = 14", -# "PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed", + "PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed", "MultipartonInteractions:bProfile = 2", "MultipartonInteractions:pT0Ref = 2.45", "MultipartonInteractions:ecmPow = 0.21", @@ -15,28 +15,19 @@ genSeq.Pythia8.Commands += [ "MultipartonInteractions:coreFraction = 0.9", "SigmaDiffractive:PomFlux = 4", "SigmaDiffractive:PomFluxEpsilon = 0.07", - "SigmaDiffractive:PomFluxAlphaPrime = 0.25"] + "SigmaDiffractive:PomFluxAlphaPrime = 0.25", + "SigmaElastic:rho = 0.0", + "SigmaDiffractive:mode = 0", + "SigmaTotal:sigmaAXB =0", + "SigmaDiffractive:OwnbMinDD = 5", + "ColourReconnection:range = 1.8"] # "BeamRemnants:reconnectRange = 1.8"] rel = os.popen("echo $AtlasVersion").read() print "Atlas release " + rel -if rel[:2].isdigit() and int(rel[:2])<20: -# todo - replace BeamRemnants with new ColourReconnection syntax once Pythia 8.201 is in place - ver = os.popen("cmt show versions External/Pythia8").read() - print "Pythia8 version: " + ver - if 'Pythia8-01' in ver[:50]: - genSeq.Pythia8.Commands += [ - "PDF:useLHAPDF = on", - "PDF:LHAPDFset = NNPDF23_lo_as_0130_qed", - "BeamRemnants:reconnectRange = 1.8"] - else: - genSeq.Pythia8.Commands += ["PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed", - "ColourReconnection:range = 1.8"] -else: - genSeq.Pythia8.Commands += ["PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed", - "ColourReconnection:range = 1.8"] - evgenConfig.tune = "A3 NNPDF23LO" -print "WARNING! These parameters are derived tuning Pythia 8.186 to data" +print("WARNING! These parameters are derived tuning Pythia 8.186 to data") + + -- GitLab