ATLAS Offline Software
StoreGateExample_Gen_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.WriteData()
24 topSeq += CfgMgr.xAODMaker__EventInfoCnvAlg()
25 topSeq += CfgMgr.ReadData(DataProducer = "WriteData")
26 
27 # setup output level
28 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
29 if not hasattr (svcMgr, 'StoreGateSvc'):
30  svcMgr += CfgMgr.StoreGateSvc()
31 svcMgr.StoreGateSvc.OutputLevel = VERBOSE
32 #svcMgr.StoreGateSvc.Dump = False #True will dump data store contents
33 
34 svcMgr.MessageSvc.useColors = True
35 #svcMgr.MessageSvc.OutputLevel = Lvl.DEBUG
36 
37 
38 #==============================================================
39 #
40 # End of AthExStoreGateExample Job options file
41 #
42 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7