The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
NewInputRead.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:NEWROOTIO.xml"
])
24
esel =
EventSelector
(OutputLevel=DEBUG, PrintFreq=1, FirstEvent=1)
25
esel.Input = [
26
"DATAFILE='PFN:NEWROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
27
]
28
29
# Algorithms
30
evtAlgs = Gaudi__Sequencer(
31
"EventAlgs"
,
32
Members=[
33
ReadAlg
(OutputLevel=VERBOSE, IncidentName=
FileRecordDataSvc
().IncidentName)
34
],
35
VetoObjects=[
"FSR"
],
36
)
37
fsrAlgs = Gaudi__Sequencer(
38
"FSRAlgs"
, Members=[
ReadTES
(Locations=[
"FSR"
])], RequireObjects=[
"FSR"
]
39
)
40
41
# Application setup
42
app =
ApplicationMgr
()
43
# - Algorithms
44
app.TopAlg = [evtAlgs, fsrAlgs]
45
# - Events
46
app.EvtMax = -1
47
app.HistogramPersistency =
"NONE"
48
49
RootCnvSvc(OutputLevel=INFO)
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
NewInputRead.py
Generated on
for The Gaudi Framework by
1.17.0