The Gaudi Framework
v36r1 (3e2fb5a8)
ExtCollRead.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 = [
# new
22
"COLLECTION='Fill/MyCOL1' DATAFILE='PFN:ROOT_IO.etags' "
23
"SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>9 && Ntrack<20 && Energy<180)' "
24
"FUN='Gaudi::Examples::EvtExtCollectionSelector'"
,
25
# old
26
"COLLECTION='Dir1/Dir2/Dir3/Collection' DATAFILE='PFN:ROOT_IO.tags' "
27
"SVC='Gaudi::RootCnvSvc' SEL='(Ntrack>15)' "
28
"FUN='Gaudi::Examples::EvtCollectionSelector'"
29
]
30
evtColl =
TagCollectionSvc
(
"EvtTupleSvc"
)
31
32
# Application
33
app =
ApplicationMgr
(
34
TopAlg=[ReadAlg()], EvtMax=-1, HistogramPersistency=
"NONE"
)
35
app.ExtSvc.append(evtColl)
36
37
# Verbosity
38
# 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
ExtCollRead.py
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18