The Gaudi Framework  v36r7 (7f57a304)
Prepare.py
Go to the documentation of this file.
1 
11 """
12 Prepare DST file to be used by EvtColsEx examples.
13 """
14 from Configurables import GaudiPersistency
15 from Gaudi.Configuration import *
16 
17 GaudiPersistency()
18 FileCatalog(Catalogs=["xmlcatalog_file:EvtColsEx.xml"])
19 
20 # Output setup
21 # - DST
22 dst = OutputStream("RootDst")
23 dst.ItemList = ["/Event#1"]
24 dst.Output = "DATAFILE='PFN:EvtColsEx.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
25 
26 # Application setup
28 # - I/O
29 app.OutStream += [dst]
30 # - Events
31 app.EvtMax = 50000
32 app.EvtSel = "NONE" # do not use any event input
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:38
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57