ATLAS Offline Software
Loading...
Searching...
No Matches
userProcess_example.py
Go to the documentation of this file.
1#import AthenaCommon.AtlasUnixGeneratorJob
2from AthenaCommon.AppMgr import ServiceMgr as svcMgr
3
4#--------------------------------------------------------------
5# Event related parameters
6#--------------------------------------------------------------
7# Number of events to be processed (default is 10)
8theApp.EvtMax = 3
9#--------------------------------------------------------------
10# Algorithms Private Options
11#--------------------------------------------------------------
12svcMgr.MessageSvc.OutputLevel = INFO
13
14from AthenaCommon.AlgSequence import AlgSequence
15topSequence = AlgSequence()
16from Pythia8_i.Pythia8_iConf import Pythia8_i
17
18
19topSequence+=Pythia8_i()
20topSequence.Pythia8_i.useRndmGenSvc = True
21topSequence.Pythia8_i.UserProcess = "qqbar2emu"
22
23#topSequence.Pythia8_i.Commands += ['Random:setSeed = on']
24#topSequence.Pythia8_i.Commands += ['Random:seed = 123456789']
25
26#topSequence.Pythia8_i.CollisionEnergy = 10000
27
28from TruthExamples.TruthExamplesConf import DumpMC
29topSequence += DumpMC()
30
31
Dump MC event record.
Definition DumpMC.h:12