The Gaudi Framework  v36r1 (3e2fb5a8)
NewWrite.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 
18 # Output setup
19 # - DST
20 dst = OutputStream("RootDst")
21 dst.ItemList = ["/Event#999"]
22 dst.Output = "DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
23 
24 FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.2.xml"])
25 
26 # Output Levels
27 MessageSvc(OutputLevel=VERBOSE)
28 IncidentSvc(OutputLevel=DEBUG)
29 RootCnvSvc(OutputLevel=INFO)
30 AlgExecStateSvc(OutputLevel=INFO)
31 
33 
34 # Application setup
36 # - I/O
37 app.OutStream += [dst]
38 # - Algorithms
39 app.TopAlg = ["WriteAlg"]
40 # - Events
41 app.EvtMax = 10
42 app.EvtSel = "NONE" # do not use any event input
43 app.HistogramPersistency = "NONE"
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:38
IncidentSvc
Default implementation of the IIncidentSvc interface.
Definition: IncidentSvc.h:48
AlgExecStateSvc
A service that keeps track of the execution state of Algorithm.
Definition: AlgExecStateSvc.h:26
Gaudi.Configuration
Definition: Configuration.py:1
MessageSvc
Definition: MessageSvc.h:40
ApplicationMgr
Definition: ApplicationMgr.h:57
Gaudi.Configuration.GaudiPersistency
Definition: Configuration.py:125