The Gaudi Framework
master (bb4415cc)
Toggle main menu visibility
Loading...
Searching...
No Matches
NewInputWrite.py
Go to the documentation of this file.
1
14
15
from
Configurables
import
Gaudi__Hive__FetchLeavesFromFile
as
FetchLeavesFromFile
16
from
Configurables
import
Gaudi__RootCnvSvc
as
RootCnvSvc
17
from
Configurables
import
GaudiPersistency
18
from
Gaudi.Configuration
import
*
19
20
# Output setup
21
# - DST
22
dst =
CopyInputStream
(
"NewRootDst"
)
23
dst.Output =
"DATAFILE='PFN:NEWROOTIO.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
24
25
FileCatalog(Catalogs=[
"xmlcatalog_file:NEWROOTIO.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
esel =
EventSelector
(OutputLevel=DEBUG, PrintFreq=10, FirstEvent=1)
36
esel.Input = [
37
"DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
38
]
39
40
# Application setup
41
app =
ApplicationMgr
()
42
# - I/O
43
app.OutStream += [dst]
44
# - Algorithms
45
fetch = FetchLeavesFromFile(
"NewFetch"
)
46
app.TopAlg = [fetch]
47
# - Events
48
app.EvtMax = -1
49
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
CopyInputStream
Definition
CopyInputStream.cpp:23
EventSelector
Definition of class EventSelector.
Definition
EventSelector.h:41
IncidentSvc
Default implementation of the IIncidentSvc interface.
Definition
IncidentSvc.h:35
MessageSvc
Definition
MessageSvc.h:36
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
ROOT_IO
NewInputWrite.py
Generated on
for The Gaudi Framework by
1.17.0