The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
NewInputWrite.py
Go to the documentation of this file.
14
15from Configurables import Gaudi__Hive__FetchLeavesFromFile as FetchLeavesFromFile
16from Configurables import Gaudi__RootCnvSvc as RootCnvSvc
17from Configurables import GaudiPersistency
18from Gaudi.Configuration import *
19
20# Output setup
21# - DST
22dst = CopyInputStream("NewRootDst")
23dst.Output = "DATAFILE='PFN:NEWROOTIO.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
24
25FileCatalog(Catalogs=["xmlcatalog_file:NEWROOTIO.xml"])
26
27# Output Levels
28MessageSvc(OutputLevel=VERBOSE)
29IncidentSvc(OutputLevel=DEBUG)
30RootCnvSvc(OutputLevel=INFO)
31AlgExecStateSvc(OutputLevel=INFO)
32
33GaudiPersistency()
34
35esel = EventSelector(OutputLevel=DEBUG, PrintFreq=10, FirstEvent=1)
36esel.Input = [
37 "DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
38]
39
40# Application setup
42# - I/O
43app.OutStream += [dst]
44# - Algorithms
45fetch = FetchLeavesFromFile("NewFetch")
46app.TopAlg = [fetch]
47# - Events
48app.EvtMax = -1
49app.HistogramPersistency = "NONE"
A service that keeps track of the execution state of Algorithm.
The Application Manager class.
Definition of class EventSelector.
Default implementation of the IIncidentSvc interface.
Definition IncidentSvc.h:35