The Gaudi Framework  v36r1 (3e2fb5a8)
NewInputWrite.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 from Configurables import Gaudi__Hive__FetchLeavesFromFile as FetchLeavesFromFile
18 
19 # Output setup
20 # - DST
21 dst = CopyInputStream("NewRootDst")
22 dst.Output = "DATAFILE='PFN:NEWROOTIO.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
23 
24 FileCatalog(Catalogs=["xmlcatalog_file:NEWROOTIO.xml"])
25 
26 # Output Levels
27 MessageSvc(OutputLevel=VERBOSE)
28 IncidentSvc(OutputLevel=DEBUG)
29 RootCnvSvc(OutputLevel=INFO)
30 AlgExecStateSvc(OutputLevel=INFO)
31 
33 
34 esel = EventSelector(OutputLevel=DEBUG, PrintFreq=10, FirstEvent=1)
35 esel.Input = [
36  "DATAFILE='PFN:ROOTIO.2.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
37 ]
38 
39 # Application setup
41 # - I/O
42 app.OutStream += [dst]
43 # - Algorithms
44 fetch = FetchLeavesFromFile("NewFetch")
45 app.TopAlg = [fetch]
46 # - Events
47 app.EvtMax = -1
48 app.HistogramPersistency = "NONE"
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
CopyInputStream
Definition: CopyInputStream.cpp:23
Gaudi.Configuration
Definition: Configuration.py:1
MessageSvc
Definition: MessageSvc.h:40
ApplicationMgr
Definition: ApplicationMgr.h:57
Gaudi.Configuration.GaudiPersistency
Definition: Configuration.py:125
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63