The Gaudi Framework  master (37c0b60a)
PrepareExt.py
Go to the documentation of this file.
1 
12 
13 from Configurables import Gaudi__TestSuite__MultiInput__DumpAddress as DumpAddress
14 from Configurables import Gaudi__TestSuite__MultiInput__WriteAlg as WriteAlg
15 from Configurables import GaudiPersistency, ReadTES
16 from Gaudi.Configuration import *
17 
18 # Enable basic persistency-related settings
19 GaudiPersistency()
20 
21 out = OutputStream()
22 out.ItemList = ["/Event#999"]
23 out.Output = "DATAFILE='PFN:MI_Ext.dst' SVC='Gaudi::RootCnvSvc' OPT='RECREATE'"
24 
25 FileCatalog(Catalogs=["xmlcatalog_file:MultiInput.xml"])
26 
28 # - I/O
29 app.OutStream += [out, DumpAddress(OutputFile="addresses.txt", ObjectPath="Tracks")]
30 # - Algorithms
31 app.TopAlg = [WriteAlg(RandomSeeds=[1, 2, 3, 4])]
32 # - Events
33 app.EvtMax = 100
34 app.EvtSel = "NONE" # do not use any event input
35 app.HistogramPersistency = "NONE"
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:38
Gaudi.Configuration
Definition: Configuration.py:1
WriteAlg
Definition: WriteAlg.h:25
ApplicationMgr
Definition: ApplicationMgr.h:57