ATLAS Offline Software
qcdVetoedShowerExample.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 
13 svcMgr.MessageSvc.OutputLevel = INFO
14 
15 from AthenaCommon.AlgSequence import AlgSequence
16 topSequence = AlgSequence()
17 from Pythia8_i.Pythia8_iConf import Pythia8_i
18 
19 topSequence+=Pythia8_i()
20 topSequence.Pythia8_i.CollisionEnergy = 7000
21 
22 #topSequence.Pythia8_i.Commands += ['WeakSingleBoson:ffbar2gmZ = on']
23 topSequence.Pythia8_i.LHEFile = "Powheg.ZMu.MC11.events"
24 
25 topSequence.Pythia8_i.Commands += ['SpaceShower:pTmaxMatch = 2']
26 topSequence.Pythia8_i.Commands += ['TimeShower:pTmaxMatch = 2']
27 topSequence.Pythia8_i.UserHook = "QCDVetoedShower"
28 
29 from TruthExamples.TruthExamplesConf import DumpMC
30 topSequence += DumpMC()
31 
32 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7