The Gaudi Framework  v36r1 (3e2fb5a8)
NewInputRead.py
Go to the documentation of this file.
1 
14 
15 from Gaudi.Configuration import *
16 from Configurables import Gaudi__RootCnvSvc as RootCnvSvc, GaudiPersistency
17 from Configurables import ReadAlg, ReadTES, FileRecordDataSvc
18 
19 # I/O
21 FileRecordDataSvc(IncidentName="NEW_FILE_RECORD")
22 FileCatalog(Catalogs=["xmlcatalog_file:NEWROOTIO.xml"])
23 esel = EventSelector(OutputLevel=DEBUG, PrintFreq=1, FirstEvent=1)
24 esel.Input = [
25  "DATAFILE='PFN:NEWROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
26 ]
27 
28 # Algorithms
29 evtAlgs = GaudiSequencer(
30  "EventAlgs",
31  Members=[
32  ReadAlg(
33  OutputLevel=VERBOSE, IncidentName=FileRecordDataSvc().IncidentName)
34  ],
35  VetoObjects=["FSR"])
36 fsrAlgs = GaudiSequencer(
37  "FSRAlgs", Members=[ReadTES(Locations=["FSR"])], RequireObjects=["FSR"])
38 
39 # Application setup
41 # - Algorithms
42 app.TopAlg = [evtAlgs, fsrAlgs]
43 # - Events
44 app.EvtMax = -1
45 app.HistogramPersistency = "NONE"
46 
47 RootCnvSvc(OutputLevel=INFO)
48 SequencerTimerTool(OutputLevel=WARNING)
Gaudi.Configuration
Definition: Configuration.py:1
GaudiSequencer
Definition: GaudiSequencer.h:38
SequencerTimerTool
Definition: SequencerTimerTool.h:35
ApplicationMgr
Definition: ApplicationMgr.h:57
Gaudi.Configuration.GaudiPersistency
Definition: Configuration.py:125
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63