00001 def eventSelector(): 00002 from Gaudi.Configuration import ApplicationMgr 00003 app = ApplicationMgr() 00004 app.EvtSel = "NONE" 00005 00006 from DaqFormatModules.DaqFormatModulesConf import DybDaq__DaqFormatSelector 00007 daqIO = DybDaq__DaqFormatSelector("EventSelector") 00008 app.EvtSel = "" 00009 app.ExtSvc.append(daqIO) 00010 00011 from DaqFormatModules.DaqFormatModulesConf import DybDaq__DaqFormatConversionSvc 00012 daqConversionSvc = DybDaq__DaqFormatConversionSvc("DaqFormatConversionSvc") 00013 app.ExtSvc.append(daqConversionSvc) 00014 from GaudiSvc.GaudiSvcConf import EvtPersistencySvc 00015 persistencySvc = EvtPersistencySvc() 00016 persistencySvc.CnvServices = [daqConversionSvc]; 00017 00018 return daqIO