The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
ExtCollWrite.py
Go to the documentation of this file.
11from Configurables import Gaudi__TestSuite__ExtendedEvtCol as ExtendedEvtCol
12from Configurables import GaudiPersistency
13from Gaudi.Configuration import *
14
15# persistency setup
16GaudiPersistency()
17
18FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
19
20# Input
21esel = EventSelector(PrintFreq=100)
22esel.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
28evtColl = TagCollectionSvc("EvtTupleSvc")
29evtColl.Output = [
30 "EXTEVT DATAFILE='PFN:ROOT_IO.etags' OPT='RECREATE' SVC='Gaudi::RootCnvSvc'"
31]
32
33# Algorithms
34algs = 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
43app = ApplicationMgr(TopAlg=[algs], EvtMax=-1, HistogramPersistency="NONE")
44app.ExtSvc.append(evtColl)
The Application Manager class.
Definition of class EventSelector.
Gaudi tag collection service definition.