ATLAS Offline Software
lhef_example.py
Go to the documentation of this file.
1 #import AthenaCommon.AtlasUnixGeneratorJob
2 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
3 
4 #--------------------------------------------------------------
5 # Event related parameters
6 #--------------------------------------------------------------
7 # Number of events to be processed (default is 10)
8 theApp.EvtMax = 10
9 #--------------------------------------------------------------
10 # Algorithms Private Options
11 #--------------------------------------------------------------
12 svcMgr.MessageSvc.OutputLevel = INFO
13 
14 from AthenaCommon.AlgSequence import AlgSequence
15 topSequence = AlgSequence()
16 from Pythia8_i.Pythia8_iConf import Pythia8_i
17 
18 topSequence+=Pythia8_i()
19 topSequence.Pythia8_i.CollisionEnergy = 7000
20 
21 topSequence.Pythia8_i.LHEFile = "Powheg.ZMu.MC11.events"
22 
23 
24 from TruthExamples.TruthExamplesConf import DumpMC
25 topSequence += DumpMC()
26 
27 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7