The Gaudi Framework  v36r7 (7f57a304)
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 = GaudiSequencer(
31  "EventAlgs",
32  Members=[
33  ReadAlg(OutputLevel=VERBOSE, IncidentName=FileRecordDataSvc().IncidentName)
34  ],
35  VetoObjects=["FSR"],
36 )
37 fsrAlgs = GaudiSequencer(
38  "FSRAlgs", Members=[ReadTES(Locations=["FSR"])], RequireObjects=["FSR"]
39 )
40 
41 # Application setup
43 # - Algorithms
44 app.TopAlg = [evtAlgs, fsrAlgs]
45 # - Events
46 app.EvtMax = -1
47 app.HistogramPersistency = "NONE"
48 
49 RootCnvSvc(OutputLevel=INFO)
50 SequencerTimerTool(OutputLevel=WARNING)
Gaudi.Configuration
Definition: Configuration.py:1
GaudiSequencer
Definition: GaudiSequencer.h:38
SequencerTimerTool
Definition: SequencerTimerTool.h:35
ApplicationMgr
Definition: ApplicationMgr.h:57
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63