The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
CollRead.py
Go to the documentation of this file.
11from Configurables import GaudiPersistency, ReadAlg
12from Gaudi.Configuration import *
13
14# Basic configuration for Gaudi persistency
15GaudiPersistency()
16
17FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
18
19# Input
20esel = EventSelector(PrintFreq=100)
21esel.Input = [
22 "COLLECTION='Dir1/Dir2/Dir3/Collection' DATAFILE='PFN:ROOT_IO.tags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' FUN='Gaudi::TestSuite::EvtCollectionSelector'",
23 "COLLECTION='Dir1/Dir2/Dir3/Collection#Addr' DATAFILE='PFN:ROOT_IO.tags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' FUN='Gaudi::TestSuite::EvtCollectionSelector'",
24]
25evtColl = TagCollectionSvc("EvtTupleSvc")
26
27# Application
28app = ApplicationMgr(TopAlg=[ReadAlg()], EvtMax=-1, HistogramPersistency="NONE")
29app.ExtSvc.append(evtColl)
The Application Manager class.
Definition of class EventSelector.
ReadAlg class for the RootIOExample.
Definition ReadAlg.h:27
Gaudi tag collection service definition.