The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Read.py
Go to the documentation of this file.
1
14
15from Configurables import FileRecordDataSvc
16from Configurables import Gaudi__RootCnvSvc as RootCnvSvc
17from Configurables import GaudiPersistency, ReadAlg, ReadTES
18from Gaudi.Configuration import *
19
20# I/O
21GaudiPersistency()
22FileRecordDataSvc(IncidentName="NEW_FILE_RECORD")
23FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
24esel = EventSelector(OutputLevel=DEBUG, PrintFreq=50, FirstEvent=1)
25esel.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
31evtAlgs = Gaudi__Sequencer(
32 "EventAlgs",
33 Members=[
34 ReadAlg(OutputLevel=VERBOSE, IncidentName=FileRecordDataSvc().IncidentName)
35 ],
36 VetoObjects=["FSR"],
37)
38fsrAlgs = Gaudi__Sequencer(
39 "FSRAlgs", Members=[ReadTES(Locations=["FSR"])], RequireObjects=["FSR"]
40)
41
42# Application setup
43app = ApplicationMgr()
44# - Algorithms
45app.TopAlg = [evtAlgs, fsrAlgs]
46# - Events
47app.EvtMax = -1
48app.HistogramPersistency = "NONE"
49
50RootCnvSvc(OutputLevel=INFO)
51# ChronoStatSvc(OutputLevel=WARNING)
The Application Manager class.
Definition of class EventSelector.
A FileRecordDataSvc is the base class for event services.
ReadAlg class for the RootIOExample.
Definition ReadAlg.h:29