| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

__init__.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 __all__ = ['DybEventMgrConf', 'Configure']
00004 
00005 class Configure:
00006     'Class to configure DybEventMgr'
00007 
00008     def __init__(self,use_aes = True):
00009         'Set default configuration for DybEventMgr.  Turns on the AES by default.'
00010 
00011         from DybEventMgrConf import DybDataSvc
00012         dds = DybDataSvc("EventDataSvc")
00013         dds.ForceLeaves = True
00014         dds.UseAes = use_aes
00015 
00016         from DybEventMgrConf import EvtStoreQuery
00017         EvtQ = EvtStoreQuery("EvtStoreQuery")
00018         EvtQ.UseAes = use_aes    
00019 
00020         from Gaudi.Configuration import ApplicationMgr
00021         theApp = ApplicationMgr()
00022 
00023         theApp.SvcMapping = [
00024             'EvtDataSvc/EventDataArchiveSvc',
00025             'DybDataSvc/EventDataSvc', 
00026             #"EvtDataSvc/EventDataSvc", #<-- Gaudi default
00027             "DetDataSvc/DetectorDataSvc",
00028             "HistogramSvc/HistogramDataSvc",
00029             "HbookCnv::PersSvc/HbookHistSvc",
00030             "RootHistCnv::PersSvc/RootHistSvc",
00031             "EvtPersistencySvc/EventPersistencySvc",
00032             "DetPersistencySvc/DetectorPersistencySvc",
00033             "HistogramPersistencySvc/HistogramPersistencySvc",
00034             #
00035             "EvtStoreQuery/EvtStoreQuery",
00036             ]
00037 
00038         return
00039     pass # end Configure
00040 
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:40:07 2011 for DybEventMgr by doxygen 1.4.7