15 from Configurables
import AlgResourcePool, AvalancheSchedulerSvc
16 from Configurables
import Gaudi__RootCnvSvc
as RootCnvSvc
17 from Configurables
import (
30 RootCnvSvc(OutputLevel=INFO)
36 dst.ItemList = [
"/Event#999"]
38 "DATAFILE='PFN:HandleWB_ROOTOutput.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
40 dst.NeededResources = [
"ROOTIO"]
49 "DATAFILE='PFN:HandleWB_ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
52 FileCatalog(Catalogs=[
"xmlcatalog_file:HandleWB_ROOTIO.xml"])
54 product_name =
"MyCollision"
55 product_name_full_path =
"/Event/" + product_name
57 loader = HiveReadAlgorithm(
"Loader", OutputLevel=INFO, NeededResources=[
"ROOTIO"])
59 reader = ReadHandleAlg(
"Reader", OutputLevel=INFO, NeededResources=[
"ROOTIO"])
60 reader.Input.Path = product_name
65 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
67 eventloopmgr = HiveSlimEventLoopMgr(OutputLevel=INFO)
71 scheduler = AvalancheSchedulerSvc(
72 ThreadPoolSize=algoparallel,
74 CheckDependencies=
True,
75 DataLoaderAlg=loader.name(),
79 TopAlg=[loader, reader, dst],
81 HistogramPersistency=
"NONE",
83 EventLoop=eventloopmgr,