ATLAS Offline Software
SGTutorial_jobOptions.py
Go to the documentation of this file.
1 
6 
7 #use McEventSelector
8 import AthenaCommon.AtlasUnixGeneratorJob
9 
10 #--------------------------------------------------------------
11 # Private Application Configuration options
12 #--------------------------------------------------------------
13 
14 from AthenaCommon.AlgSequence import AlgSequence
15 job = AlgSequence()
16 
17 #top algorithms to be run
18 job += CfgMgr.SGWrite()
19 job += CfgMgr.SGRead()
20 
21 #--------------------------------------------------------------
22 # Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
23 #--------------------------------------------------------------
24 svcMgr.MessageSvc.OutputLevel = Lvl.DEBUG
25 
26 #--------------------------------------------------------------
27 # Event related parameters
28 #--------------------------------------------------------------
29 
30 from AthenaCommon.AppMgr import theApp
31 # Number of events to be processed (default is 10)
32 theApp.EvtMax = 2
33 
34 #--------------------------------------------------------------
35 # Algorithms Private Options
36 #--------------------------------------------------------------
37 job.SGRead.DataObjKey = "MyData"
38 job.SGWrite.DataObjKey = "MyData"
39 
40 #==============================================================
41 #
42 # End of job options file
43 #
44 
45 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7