The Gaudi Framework  v39r2 (37c0b60a)
AtlasMCRecoFullPrecedenceDump.py
Go to the documentation of this file.
1 #!/usr/bin/env gaudirun.py
2 
12 
13 from Configurables import (
14  AvalancheSchedulerSvc,
15  HiveSlimEventLoopMgr,
16  HiveWhiteBoard,
17  PrecedenceSvc,
18  TimelineSvc,
19 )
20 from Gaudi.Configuration import *
21 
22 # convenience machinery for assembling custom graphs of algorithm
23 # precedence rules (w/ CPUCrunchers as algorithms)
24 from GaudiHive import precedence
25 
26 # metaconfig
27 evtslots = 2
28 evtMax = 4
29 algosInFlight = 2
30 enableTimeline = True
31 
32 InertMessageSvc(OutputLevel=INFO)
33 
34 
37 PrecedenceSvc(DumpPrecedenceRules=True, DumpPrecedenceTrace=True, OutputLevel=DEBUG)
38 TimelineSvc(RecordTimeline=enableTimeline, OutputLevel=DEBUG)
39 
40 
41 whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
42 
43 slimeventloopmgr = HiveSlimEventLoopMgr(
44  SchedulerName="AvalancheSchedulerSvc", OutputLevel=DEBUG
45 )
46 
47 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
48 
49 timeValue = 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 )
GaudiPartProp.decorators.get
get
decorate the vector of properties
Definition: decorators.py:283
InertMessageSvc
Definition: InertMessageSvc.h:36
precedence.RealTimeValue
Definition: precedence.py:74
Gaudi.Configuration
Definition: Configuration.py:1
precedence.CruncherSequence
Definition: precedence.py:166
ApplicationMgr
Definition: ApplicationMgr.h:57
precedence.UniformBooleanValue
Definition: precedence.py:113