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