2 include(
"Pythia8_i/Pythia8_Base_Fragment.py")
 
    4 genSeq.Pythia8.UseLHAPDF=
False 
    6 genSeq.Pythia8.Commands += [
 
   11         "SpaceShower:rapidityOrder = on",
 
   12         "SigmaProcess:alphaSvalue = 0.140",
 
   13         "SpaceShower:pT0Ref = 1.56",
 
   14         "SpaceShower:pTmaxFudge = 0.91",
 
   15         "SpaceShower:pTdampFudge = 1.05",
 
   16         "SpaceShower:alphaSvalue = 0.127",
 
   17         "TimeShower:alphaSvalue = 0.127",
 
   18         "BeamRemnants:primordialKThard = 1.88",
 
   19         "MultipartonInteractions:pT0Ref = 2.09",
 
   20         "MultipartonInteractions:alphaSvalue = 0.131"]
 
   23 rel = os.popen(
"echo $AtlasVersion").
read()
 
   25 if rel[:2].isdigit() 
and int(rel[:2])<20:
 
   26   ver =  os.popen(
"cmt show versions External/Pythia8").
read()
 
   27   print (
"Pythia8 version: " + ver)
 
   28   if (
'Pythia8-01' in ver[:50]) 
or (
'Pythia8_i-00-11' in ver):
 
   29    genSeq.Pythia8.Commands += [
 
   31     "PDF:LHAPDFset = NNPDF23_lo_as_0130_qed",
 
   32     "BeamRemnants:reconnectRange = 1.73" ]
 
   34    genSeq.Pythia8.Commands += [
"PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed",
 
   35    "ColourReconnection:range = 1.73"]                            
 
   37    genSeq.Pythia8.Commands += [
"PDF:pSet=LHAPDF6:NNPDF23_lo_as_0130_qed",
 
   38    "ColourReconnection:range = 1.73"]       
 
   40 evgenConfig.tune = 
"A14 NNPDF23LO"