ATLAS Offline Software
Loading...
Searching...
No Matches
vetoedISR_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#--------------------------------------------------------------
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
22topSequence.Pythia8_i.LHEFile = "Powheg.ZMu.MC11.events"
23
24topSequence.Pythia8_i.Commands += ['SpaceShower:pTmaxMatch = 2',
25 'TimeShower:pTmaxMatch = 1']
26topSequence.Pythia8_i.UserHook = "ISRVetoedShower"
27
28from TruthExamples.TruthExamplesConf import DumpMC
29topSequence += DumpMC()
30
31
Dump MC event record.
Definition DumpMC.h:12