The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
CollWrite.py
Go to the documentation of this file.
11from Configurables import EvtCollectionWrite, GaudiPersistency
12from Gaudi.Configuration import *
13
14# Basic configuration for Gaudi persistency
15GaudiPersistency()
16
17FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
18
19# Input
20esel = EventSelector(PrintFreq=100)
21esel.Input = [
22 "DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
23 "DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
24]
25
26# Output
27evtColl = TagCollectionSvc("EvtTupleSvc")
28evtColl.Output = [
29 "EvtColl DATAFILE='PFN:ROOT_IO.tags' OPT='RECREATE' SVC='Gaudi::RootCnvSvc'"
30]
31
32# Algorithms
33algs = Gaudi__Sequencer(
34 "EventAlgs", Members=[EvtCollectionWrite("Writer")], VetoObjects=["FSR"]
35)
36
37# Application
38app = ApplicationMgr(TopAlg=[algs], EvtMax=-1, HistogramPersistency="NONE")
39app.ExtSvc.append(evtColl)
The Application Manager class.
Definition of class EventSelector.
User example objects: EvtCollectionWrite.
Gaudi tag collection service definition.