10 from __main__
import opts
12 if 'ATHENA_CORE_NUMBER' in os.environ:
13 evgenLog.info(
'Noticed that you have run with an athena MP-like whole-node setup. Will re-configure now to make sure that the remainder of the job runs serially.')
14 njobs = os.environ.pop(
'ATHENA_CORE_NUMBER')
16 if not hasattr(opts,
'nprocs'): mglog.warning(
'Did not see option!')
18 evgenLog.info(
'Options: ' +
str(opts))
20 from Pythia8_i.Pythia8_iConf
import Pythia8_i
21 genSeq += Pythia8_i(
"Pythia8")
23 genSeq.Pythia8.Commands += [
24 "Main:timesAllowErrors = 500",
25 "Main:numberOfEvents = 1",
31 "StandardModel:sin2thetaW = 0.23113",
32 "StandardModel:sin2thetaWbar = 0.23146",
33 "ParticleDecays:limitTau0 = on",
34 "ParticleDecays:tau0Max = 10.0"]
36 genSeq.Pythia8.Commands += [
38 "MultipartonInteractions:bProfile = 4",
39 "MultipartonInteractions:a1 = 0.03",
40 "MultipartonInteractions:pT0Ref = 1.90",
41 "MultipartonInteractions:ecmPow = 0.30",
42 "PDF:pSet=LHAPDF6:MSTW2008lo68cl",
43 "ColourReconnection:range=2.28",
44 "SoftQCD:inelastic = on",
45 "SpaceShower:rapidityOrder=0"]
48 if not hasattr(postSeq,
"CountHepMC"):
50 postSeq.CountHepMC.RequestedOutput = 1