ATLAS Offline Software
Loading...
Searching...
No Matches
lhef_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 = 10
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
18topSequence+=Pythia8_i()
19topSequence.Pythia8_i.CollisionEnergy = 7000
20
21topSequence.Pythia8_i.LHEFile = "Powheg.ZMu.MC11.events"
22
23
24from TruthExamples.TruthExamplesConf import DumpMC
25topSequence += DumpMC()
26
27
Dump MC event record.
Definition DumpMC.h:12