The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
SelectTracks.py
Go to the documentation of this file.
14
15from Configurables import FileRecordDataSvc
16from Configurables import Gaudi__RootCnvSvc as RootCnvSvc
17from Configurables import Gaudi__TestSuite__CountSelectedTracks as CountSelectedTracks
18from Configurables import Gaudi__TestSuite__SelectTracks as SelectTracks
19from Configurables import GaudiPersistency, ReadAlg, ReadTES
20from Gaudi.Configuration import *
21
22# I/O
23GaudiPersistency()
24FileRecordDataSvc(IncidentName="NEW_FILE_RECORD")
25FileCatalog(Catalogs=["xmlcatalog_file:ROOTIO.xml"])
26esel = EventSelector(OutputLevel=DEBUG, PrintFreq=50, FirstEvent=1)
27esel.Input = [
28 "DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
29 "DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
30]
31
32# Algorithms
33evtAlgs = Gaudi__Sequencer(
34 "EventAlgs", Members=[SelectTracks(), CountSelectedTracks()], VetoObjects=["FSR"]
35)
36fsrAlgs = Gaudi__Sequencer(
37 "FSRAlgs", Members=[ReadTES(Locations=["FSR"])], RequireObjects=["FSR"]
38)
39
40# Application setup
42# app.ExtSvc = [ EvtStoreSvc("EventDataSvc",OutputLevel=DEBUG ) ]
43app.ExtSvc = [EvtStoreSvc("EventDataSvc")]
44EvtStoreSvc("EventDataSvc").InhibitedPathPrefixes = ["/Event/Header"]
45EvtStoreSvc("EventDataSvc").FollowLinksToAncestors = True
46# - Algorithms
47app.TopAlg = [evtAlgs, fsrAlgs]
48# - Events
49app.EvtMax = -1
50app.HistogramPersistency = "NONE"
51
52RootCnvSvc(OutputLevel=INFO)
53# ChronoStatSvc(OutputLevel=WARNING)
The Application Manager class.
Definition of class EventSelector.
Use a minimal event store implementation, and adds everything required to satisfy the IDataProviderSv...
A FileRecordDataSvc is the base class for event services.