The Gaudi Framework
master (1a7a3838)
Toggle main menu visibility
Loading...
Searching...
No Matches
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"
AlgExecStateSvc
A service that keeps track of the execution state of Algorithm.
Definition
AlgExecStateSvc.h:27
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
IncidentSvc
Default implementation of the IIncidentSvc interface.
Definition
IncidentSvc.h:35
MessageSvc
Definition
MessageSvc.h:36
OutputStream
A small to stream Data I/O.
Definition
OutputStream.h:37
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
ROOT_IO
NewWrite.py
Generated on
for The Gaudi Framework by
1.17.0