The Gaudi Framework  master (37c0b60a)
CollRead.py
Go to the documentation of this file.
1 
11 from Configurables import GaudiPersistency, ReadAlg
12 from Gaudi.Configuration import *
13 
14 # Basic configuration for Gaudi persistency
15 GaudiPersistency()
16 
17 FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
18 
19 # Input
20 esel = EventSelector(PrintFreq=100)
21 esel.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 ]
25 evtColl = TagCollectionSvc("EvtTupleSvc")
26 
27 # Application
28 app = ApplicationMgr(TopAlg=[ReadAlg()], EvtMax=-1, HistogramPersistency="NONE")
29 app.ExtSvc.append(evtColl)
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63
TagCollectionSvc
Gaudi tag collection service definition.
Definition: TagCollectionSvc.h:36