7 'Pythia' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
8 'PythiaB' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
9 'PythiaRhad' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
10 'PythiaChL' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
11 'PythiaGS' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
12 'PythiaResMod' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
13 'PythiaTopMdiff' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
14 'Pythia8' : [
"PYTHIA8 OFFSET {rnd} 4789899 {rnd}",
"PYTHIA8_INIT 820021 2347532"],
15 'Pythia8B' : [
"PYTHIA8 OFFSET {rnd} 4789899 {rnd}",
"PYTHIA8_INIT 820021 2347532"],
16 'Herwig' : [
"HERWIG OFFSET {rnd} 30450275 {rnd}",
"HERWIG_INIT 620021 5347532"],
17 'Herwigpp' : [
"Herwigpp OFFSET {rnd} {rnd} 31122001"],
18 'Herwig7' : [
"Herwig7 OFFSET {rnd} {rnd} 31122001"],
19 'Jimmy' : [
"JIMMY OFFSET {rnd} 39002061 {rnd}",
"JIMMY_INIT 720021 4347532"],
20 'Cascade' : [
"CASCADE OFFSET {rnd} 4789899 {rnd}",
"CASCADE_INIT 889223465 78782321"],
21 'Tauola' : [
"TAUOLA OFFSET {rnd} 10480275 {rnd}",
"TAUOLA_INIT 920021 3347532"],
22 'Tauolapp' : [
"TAUOLAPP OFFSET {rnd} 10480275 {rnd}",
"TAUOLAPP_INIT 920021 3347532"],
23 'TauolaPP' : [
"TAUOLAPP OFFSET {rnd} 10480275 {rnd}",
"TAUOLAPP_INIT 920021 3347532"],
24 'Photos' : [
"PHOTOS OFFSET {rnd} 20450275 {rnd}",
"PHOTOS_INIT 930021 3447532"],
25 'Photospp' : [
"PHOTOSPP OFFSET {rnd} 20450275 {rnd}",
"PHOTOSPP_INIT 930021 3447532"],
26 'EvtGen' : [
"EVTGEN OFFSET {rnd} 30450275 {rnd}"],
27 'Hijing' : [
"HIJING OFFSET {rnd} 327213897 {rnd}",
"HIJING_INIT 31452781 78713307"],
28 'Hydjet' : [
"HYDJET OFFSET {rnd} 252413389 {rnd}",
"HYDJET_INIT 52413389 24133894"],
29 'Pyquen' : [
"PYTHIA OFFSET {rnd} 47898993 {rnd}",
"PYTHIA_INIT 820021 2347532"],
30 'Isajet' : [
"ISAJET OFFSET {rnd} 1857585203 {rnd}",
"ISAJET_INIT 820021 2347532"],
31 'Phojet' : [
"PHOJET OFFSET {rnd} 174947321 {rnd}",
"PHOJET_INIT 820021 2347532"],
32 'Epos' : [
"EPOS OFFSET {rnd} {rnd} 31122001",
"EPOS_INIT OFFSET {rnd} 820021 2347532"],
33 'QGSJet' : [
"QGSJet OFFSET {rnd} {rnd} 51122005",
"QGSJET_INIT OFFSET {rnd} 820021 2347532"],
34 'ParticleGun' : [
"ParticleGun {rnd} {rnd}"],
35 'ParticleGenerator' : [
"SINGLE LUXURY 2 OFFSET 12345 {rnd} {rnd}"],
36 'ParticleDecayer' : [
"ParticleDecayer LUXURY 2 OFFSET 54321 {rnd} {rnd}"],
37 'CosmicGenerator' : [
"SINGLE OFFSET {rnd} 20401607 {rnd}"],
38 'Sherpa' : [
"SHERPA OFFSET {rnd} 174947321 {rnd}",
"SHERPA_INIT 820021 2347532"],
39 'Exhume' : [
"ExhumeRand OFFSET {rnd} 4475757 {rnd}"],
40 'Pomwig' : [
"POMWIG OFFSET {rnd} 37489241 {rnd}",
"POMWIG_INIT 21219421 1984121"],
41 'Starlight' : [
"STARLIGHT OFFSET {rnd} {rnd} 31122001"],
42 'BeamHaloGenerator' : [
"BeamHalo OFFSET {rnd} 3524752 {rnd}"],
43 'Superchic' : [
"SUPERCHIC OFFSET {rnd} {rnd} 10480275"],
48 assert evgenConfig.generators
49 atRndmGenSvc = svcMgr.AtRndmGenSvc
50 atRndmGenSvc.EventReseeding =
False
51 print(
"Events will not be reseeded (RndmGenSvc) ")
55 for gen
in evgenConfig.generators:
57 for seedtemplate
in genseeds[gen]:
58 seed = runArgs.randomSeed
59 if runArgs.trfSubstepName ==
'afterburn':
61 seedstr = seedtemplate.format(rnd=seed)
62 evgenLog.info(
"Adding %s random seed config: %s" % (gen, seedstr))
63 seedstrs.append(seedstr)
64 svcMgr.AtRndmGenSvc.Seeds = seedstrs