| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

testWhiteBoard.py
Go to the documentation of this file.
1 from Gaudi.Configuration import *
2 from Configurables import HiveWhiteBoard, HiveEventLoopMgr, HiveTestAlgorithm
3
4 evtslots = 10
5
6 whiteboard = HiveWhiteBoard("EventDataSvc",
7 EventSlots = evtslots)
8 eventloopmgr = HiveEventLoopMgr(MaxEventsParallel = evtslots,
9 MaxAlgosParallel = 20,
10 NumThreads = 8,
11 AlgosDependencies = [[],['a1'],['a1'],['a2','a3']])
12
13 a1 = HiveTestAlgorithm("A1", Output = ['/Event/a1'])
14 a2 = HiveTestAlgorithm("A2", Input = ['/Event/a1'],
15 Output = ['/Event/a2'])
16 a3 = HiveTestAlgorithm("A3", Input = ['/Event/a1'],
17 Output = ['/Event/a3'])
18 a4 = HiveTestAlgorithm("A4", Input = ['/Event/a2','/Event/a3'],
19 Output = ['/Event/a4'])
20
21 ApplicationMgr( EvtMax = 100,
22 EvtSel = 'NONE',
23 ExtSvc =[whiteboard],
24 EventLoop = eventloopmgr,
25 TopAlg = [a1,a2,a3,a4] )
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
The Application Manager class.
Definition: ApplicationMgr.h:46