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