The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
AtlasMCRecoFullPrecedenceDump.py
Go to the documentation of this file.
1#!/usr/bin/env gaudirun.py
2
12
13from Configurables import (
14 AvalancheSchedulerSvc,
15 HiveSlimEventLoopMgr,
16 HiveWhiteBoard,
17 PrecedenceSvc,
18 TimelineSvc,
19)
20from Gaudi.Configuration import *
21
22# convenience machinery for assembling custom graphs of algorithm
23# precedence rules (w/ CPUCrunchers as algorithms)
24from GaudiHive import precedence
25
26# metaconfig
27evtslots = 2
28evtMax = 4
29algosInFlight = 2
30enableTimeline = True
31
32InertMessageSvc(OutputLevel=INFO)
33
34
37PrecedenceSvc(DumpPrecedenceRules=True, DumpPrecedenceTrace=True, OutputLevel=DEBUG)
38TimelineSvc(RecordTimeline=enableTimeline, OutputLevel=DEBUG)
39
40
41whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
42
43slimeventloopmgr = HiveSlimEventLoopMgr(
44 SchedulerName="AvalancheSchedulerSvc", OutputLevel=DEBUG
45)
46
47scheduler = AvalancheSchedulerSvc(ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
48
49timeValue = precedence.RealTimeValue(path="atlas/q431/time.r2a.json", defaultTime=0.1)
51
53 timeValue,
54 ifIObound,
55 sleepFraction=0.0,
56 cfgPath="atlas/q431/cf.r2a.graphml",
57 dfgPath="atlas/q431/df.r2a.graphml",
58 topSequencer="AthSequencer/AthMasterSeq",
59 timeline=enableTimeline,
60).get()
61
63 EvtMax=evtMax,
64 EvtSel="NONE",
65 ExtSvc=[whiteboard],
66 EventLoop=slimeventloopmgr,
67 TopAlg=[sequencer],
68 MessageSvcType="InertMessageSvc",
69 OutputLevel=INFO,
70)
The Application Manager class.
Data service base class.
Thread safe extension to the standard MessageSvc.
A service to resolve the task execution precedence.