The Gaudi Framework  master (37c0b60a)
ExtCollWrite.py
Go to the documentation of this file.
1 
11 from Configurables import Gaudi__TestSuite__ExtendedEvtCol as ExtendedEvtCol
12 from Configurables import GaudiPersistency
13 from Gaudi.Configuration import *
14 
15 # persistency setup
16 GaudiPersistency()
17 
18 FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
19 
20 # Input
21 esel = EventSelector(PrintFreq=100)
22 esel.Input = [
23  "DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
24  "DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
25 ]
26 
27 # Output
28 evtColl = TagCollectionSvc("EvtTupleSvc")
29 evtColl.Output = [
30  "EXTEVT DATAFILE='PFN:ROOT_IO.etags' OPT='RECREATE' SVC='Gaudi::RootCnvSvc'"
31 ]
32 
33 # Algorithms
34 algs = Gaudi__Sequencer(
35  "EventAlgs",
36  Members=[
37  ExtendedEvtCol("Fill", EvtColLUN="EXTEVT")
38  ], # Logical unit for Event Tag Collection
39  VetoObjects=["FSR"],
40 )
41 
42 # Application
43 app = ApplicationMgr(TopAlg=[algs], EvtMax=-1, HistogramPersistency="NONE")
44 app.ExtSvc.append(evtColl)
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57
EventSelector
Definition of class EventSelector.
Definition: EventSelector.h:63
TagCollectionSvc
Gaudi tag collection service definition.
Definition: TagCollectionSvc.h:36