The Gaudi Framework  master (2112f010)
Loading...
Searching...
No Matches
MTRead.py
Go to the documentation of this file.
14
15from Configurables import Gaudi__RootCnvSvc as RootCnvSvc
16from Configurables import (
17 AlgResourcePool,
18 GaudiPersistency,
19 HiveSlimEventLoopMgr,
20 HiveWhiteBoard,
21 ReadAlg,
22)
23from Gaudi.Configuration import *
24
25# I/O
26GaudiPersistency()
27FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
28esel = EventSelector(OutputLevel=DEBUG, PrintFreq=50, FirstEvent=1)
29esel.Input = [
30 "DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
31 "DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
32]
33
34readAlg = ReadAlg(OutputLevel=VERBOSE)
35
36algResourcePool = AlgResourcePool(OutputLevel=INFO)
37slimeventloopmgr = HiveSlimEventLoopMgr(
38 SchedulerName="AvalancheSchedulerSvc", OutputLevel=INFO
39)
40whiteboard = HiveWhiteBoard("EventDataSvc")
42 EvtMax=2000,
43 HistogramPersistency="NONE",
44 EventLoop=slimeventloopmgr,
45 ExtSvc=[algResourcePool, whiteboard],
46 TopAlg=[readAlg],
47)
48RootCnvSvc(OutputLevel=INFO)
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.
Definition of class EventSelector.
Data service base class.
ReadAlg class for the RootIOExample.
Definition ReadAlg.h:29