The Gaudi Framework  master (fb0007c6)
Loading...
Searching...
No Matches
AtlasMCRecoScenario.py
Go to the documentation of this file.
1#!/usr/bin/env gaudirun.py
2
12
13from Configurables import (
14 AlgResourcePool,
15 AvalancheSchedulerSvc,
16 CPUCrunchSvc,
17 HiveSlimEventLoopMgr,
18 HiveWhiteBoard,
19)
20from Gaudi.Configuration import *
21
22# convenience machinery for assembling custom graphs of algorithm precedence rules (w/ CPUCrunchers as algorithms)
23from GaudiHive import precedence
24
25# metaconfig
26evtslots = 1
27evtMax = 1
28algosInFlight = 4
29threads = 4
30
31InertMessageSvc(OutputLevel=INFO)
32
33whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
34
35slimeventloopmgr = HiveSlimEventLoopMgr(
36 SchedulerName="AvalancheSchedulerSvc", OutputLevel=DEBUG
37)
38
39scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=DEBUG)
40
41AlgResourcePool(OutputLevel=DEBUG)
42
43CPUCrunchSvc(shortCalib=True)
44
45# timeValue = precedence.UniformTimeValue(avgRuntime=0.2)
47 path="atlas/mcreco/averageTiming.mcreco.TriggerOff.json", defaultTime=0.0
48)
50
52 timeValue,
53 ifIObound,
54 sleepFraction=0.0,
55 cfgPath="atlas/mcreco/cf.mcreco.TriggerOff.graphml",
56 dfgPath="atlas/mcreco/df.mcreco.TriggerOff.3rdEvent.graphml",
57 topSequencer="AthSequencer/AthMasterSeq",
58 cardinality=algosInFlight,
59).get()
60
62 EvtMax=evtMax,
63 EvtSel="NONE",
64 ExtSvc=[whiteboard],
65 EventLoop=slimeventloopmgr,
66 TopAlg=[sequencer],
67 MessageSvcType="InertMessageSvc",
68 OutputLevel=DEBUG,
69)
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.
Data service base class.
Thread safe extension to the standard MessageSvc.