The Gaudi Framework
master (37c0b60a)
NewWrite.py
Go to the documentation of this file.
1
14
15
from
Configurables
import
Gaudi__RootCnvSvc
as
RootCnvSvc
16
from
Configurables
import
GaudiPersistency
17
from
Gaudi.Configuration
import
*
18
19
# Output setup
20
# - DST
21
dst =
OutputStream
(
"RootDst"
)
22
dst.ItemList = [
"/Event#999"
]
23
dst.Output =
"DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
24
25
FileCatalog(Catalogs=[
"xmlcatalog_file:ROOTIO.2.xml"
])
26
27
# Output Levels
28
MessageSvc
(OutputLevel=VERBOSE)
29
IncidentSvc
(OutputLevel=DEBUG)
30
RootCnvSvc(OutputLevel=INFO)
31
AlgExecStateSvc
(OutputLevel=INFO)
32
33
GaudiPersistency()
34
35
# Application setup
36
app =
ApplicationMgr
()
37
# - I/O
38
app.OutStream += [dst]
39
# - Algorithms
40
app.TopAlg = [
"WriteAlg"
]
41
# - Events
42
app.EvtMax = 10
43
app.EvtSel =
"NONE"
# do not use any event input
44
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
GaudiTestSuite
options
ROOT_IO
NewWrite.py
Generated on Thu Dec 19 2024 15:35:06 for The Gaudi Framework by
1.8.18