Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (f31105fd)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
43 # - Algorithms
44 app.TopAlg = [evtAlgs, fsrAlgs]
45 # - Events
46 app.EvtMax = -1
47 app.HistogramPersistency = "NONE"
48 
49 RootCnvSvc(OutputLevel=INFO)
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63