The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
ExtCollRead.py
Go to the documentation of this file.
1
11
from
Configurables
import
GaudiPersistency, ReadAlg, SequencerTimerTool
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 = [
# 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
]
30
evtColl =
TagCollectionSvc
(
"EvtTupleSvc"
)
31
32
# Application
33
app =
ApplicationMgr
(TopAlg=[
ReadAlg
()], EvtMax=-1, HistogramPersistency=
"NONE"
)
34
app.ExtSvc.append(evtColl)
35
36
# Verbosity
37
# SequencerTimerTool(OutputLevel=WARNING)
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
EventSelector
Definition of class EventSelector.
Definition
EventSelector.h:41
ReadAlg
ReadAlg class for the RootIOExample.
Definition
ReadAlg.h:29
TagCollectionSvc
Gaudi tag collection service definition.
Definition
TagCollectionSvc.h:35
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
ROOT_IO
ExtCollRead.py
Generated on
for The Gaudi Framework by
1.17.0