The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
NewWrite.py
Go to the documentation of this file.
14
15from Configurables import Gaudi__RootCnvSvc as RootCnvSvc
16from Configurables import GaudiPersistency
17from Gaudi.Configuration import *
18
19# Output setup
20# - DST
21dst = OutputStream("RootDst")
22dst.ItemList = ["/Event#999"]
23dst.Output = "DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
24
25FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.2.xml"])
26
27# Output Levels
28MessageSvc(OutputLevel=VERBOSE)
29IncidentSvc(OutputLevel=DEBUG)
30RootCnvSvc(OutputLevel=INFO)
31AlgExecStateSvc(OutputLevel=INFO)
32
33GaudiPersistency()
34
35# Application setup
37# - I/O
38app.OutStream += [dst]
39# - Algorithms
40app.TopAlg = ["WriteAlg"]
41# - Events
42app.EvtMax = 10
43app.EvtSel = "NONE" # do not use any event input
44app.HistogramPersistency = "NONE"
A service that keeps track of the execution state of Algorithm.
The Application Manager class.
Default implementation of the IIncidentSvc interface.
Definition IncidentSvc.h:35
A small to stream Data I/O.