The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
Read.py
Go to the documentation of this file.
1
14
15
from
Configurables
import
FileRecordDataSvc
16
from
Configurables
import
Gaudi__RootCnvSvc
as
RootCnvSvc
17
from
Configurables
import
GaudiPersistency, ReadAlg, ReadTES
18
from
Gaudi.Configuration
import
*
19
20
# I/O
21
GaudiPersistency()
22
FileRecordDataSvc
(IncidentName=
"NEW_FILE_RECORD"
)
23
FileCatalog(Catalogs=[
"xmlcatalog_file:ROOTIO.xml"
])
24
esel =
EventSelector
(OutputLevel=DEBUG, PrintFreq=50, FirstEvent=1)
25
esel.Input = [
26
"DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
27
"DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
28
]
29
30
# Algorithms
31
evtAlgs = Gaudi__Sequencer(
32
"EventAlgs"
,
33
Members=[
34
ReadAlg
(OutputLevel=VERBOSE, IncidentName=
FileRecordDataSvc
().IncidentName)
35
],
36
VetoObjects=[
"FSR"
],
37
)
38
fsrAlgs = Gaudi__Sequencer(
39
"FSRAlgs"
, Members=[
ReadTES
(Locations=[
"FSR"
])], RequireObjects=[
"FSR"
]
40
)
41
42
# Application setup
43
app =
ApplicationMgr
()
44
# - Algorithms
45
app.TopAlg = [evtAlgs, fsrAlgs]
46
# - Events
47
app.EvtMax = -1
48
app.HistogramPersistency =
"NONE"
49
50
RootCnvSvc(OutputLevel=INFO)
51
# ChronoStatSvc(OutputLevel=WARNING)
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
EventSelector
Definition of class EventSelector.
Definition
EventSelector.h:41
FileRecordDataSvc
A FileRecordDataSvc is the base class for event services.
Definition
FileRecordDataSvc.cpp:48
ReadAlg
ReadAlg class for the RootIOExample.
Definition
ReadAlg.h:29
ReadTES
Definition
ReadTES.h:27
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
ROOT_IO
Read.py
Generated on
for The Gaudi Framework by
1.17.0