ATLAS Offline Software
StoreGateExample_Reentrant_jobOptions.py
Go to the documentation of this file.
1 
10 from AthenaCommon.AppMgr import theApp
11 # dummy event loop
12 theApp.EvtSel = "NONE"
13 # Number of events to be processed (default is 10)
14 theApp.EvtMax = 3
15 
16 
17 #--------------------------------------------------------------
18 # Private Application Configuration options
19 #--------------------------------------------------------------
20 from AthenaCommon.AlgSequence import AlgSequence
21 topSeq = AlgSequence()
22 
23 topSeq += CfgMgr.WriteDataReentrant(DObjKeyArray = ['x1', 'x2', 'x3'])
24 topSeq += CfgMgr.ReadDataReentrant(DObjKeyArray = ['x1', 'x2', 'x3'])
25 
26 # setup output level
27 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
28 if not hasattr (svcMgr, 'StoreGateSvc'):
29  svcMgr += CfgMgr.StoreGateSvc()
30 svcMgr.StoreGateSvc.OutputLevel = VERBOSE
31 #svcMgr.StoreGateSvc.Dump = False #True will dump data store contents
32 
33 svcMgr.MessageSvc.useColors = True
34 #svcMgr.MessageSvc.OutputLevel = Lvl.DEBUG
35 
36 
37 #==============================================================
38 #
39 # End of AthExStoreGateExample Job options file
40 #
41 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7