The Gaudi Framework
v36r1 (3e2fb5a8)
CollRead.py
Go to the documentation of this file.
1
11
from
Gaudi.Configuration
import
*
12
from
Configurables
import
(SequencerTimerTool, GaudiPersistency, ReadAlg)
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::Examples::EvtCollectionSelector'"
,
23
"COLLECTION='Dir1/Dir2/Dir3/Collection#Addr' DATAFILE='PFN:ROOT_IO.tags' SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' FUN='Gaudi::Examples::EvtCollectionSelector'"
24
]
25
evtColl =
TagCollectionSvc
(
"EvtTupleSvc"
)
26
27
# Application
28
app =
ApplicationMgr
(
29
TopAlg=[ReadAlg()], EvtMax=-1, HistogramPersistency=
"NONE"
)
30
app.ExtSvc.append(evtColl)
31
32
# Verbosity
33
# SequencerTimerTool(OutputLevel=WARNING)
Gaudi.Configuration
Definition:
Configuration.py:1
ApplicationMgr
Definition:
ApplicationMgr.h:57
Gaudi.Configuration.GaudiPersistency
Definition:
Configuration.py:125
EventSelector
Definition of class EventSelector.
Definition:
EventSelector.h:63
TagCollectionSvc
Gaudi tag collection service definition.
Definition:
TagCollectionSvc.h:36
GaudiExamples
options
ROOT_IO
CollRead.py
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18