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