The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
ExtCollRead.py
Go to the documentation of this file.
11from Configurables import GaudiPersistency, ReadAlg, SequencerTimerTool
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 = [ # new
22 "COLLECTION='Fill/MyCOL1' DATAFILE='PFN:ROOT_IO.etags' "
23 "SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>9 && Ntrack<20 && Energy<180)' "
24 "FUN='Gaudi::TestSuite::EvtExtCollectionSelector'",
25 # old
26 "COLLECTION='Dir1/Dir2/Dir3/Collection' DATAFILE='PFN:ROOT_IO.tags' "
27 "SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' "
28 "FUN='Gaudi::TestSuite::EvtCollectionSelector'",
29]
30evtColl = TagCollectionSvc("EvtTupleSvc")
31
32# Application
33app = ApplicationMgr(TopAlg=[ReadAlg()], EvtMax=-1, HistogramPersistency="NONE")
34app.ExtSvc.append(evtColl)
35
36# Verbosity
37# SequencerTimerTool(OutputLevel=WARNING)
The Application Manager class.
Definition of class EventSelector.
ReadAlg class for the RootIOExample.
Definition ReadAlg.h:29
Gaudi tag collection service definition.