The Gaudi Framework  v36r1 (3e2fb5a8)
AlgToolsClone.py
Go to the documentation of this file.
1 
14 from Gaudi.Configuration import *
15 from Configurables import MyAlgorithm, MyGaudiAlgorithm, ToolSvc, AlgResourcePool, HiveSlimEventLoopMgr, HiveWhiteBoard
16 
17 from Configurables import GaudiExamplesCommonConf
18 GaudiExamplesCommonConf()
19 
20 myalg = MyAlgorithm('MyAlg', PrivateToolsOnly=True, Cardinality=20)
21 
22 ToolSvc(OutputLevel=INFO)
23 
24 algResourcePool = AlgResourcePool(OutputLevel=INFO)
25 slimeventloopmgr = HiveSlimEventLoopMgr(
26  SchedulerName="AvalancheSchedulerSvc", OutputLevel=INFO)
27 whiteboard = HiveWhiteBoard("EventDataSvc")
28 
30  EvtMax=1,
31  EvtSel='NONE',
32  HistogramPersistency='NONE',
33  EventLoop=slimeventloopmgr,
34  ExtSvc=[algResourcePool, whiteboard],
35  TopAlg=[myalg])
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57