/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
DybEventMgr::Configure Class Reference

List of all members.

Public Member Functions

def __init__
def data_svc
def loop_std
def loop_mgr

Public Attributes

 eventDataSvcName
 loopMgr

Detailed Description

Definition at line 5 of file __init__.py.


Constructor & Destructor Documentation

def DybEventMgr::Configure::__init__ (   self,
  use_aes = True,
  event_builder = None,
  evtsel = False 
)
Set default configuration for DybEventMgr.  Flags:

use_aes: use the Archive Event Store (def: True)
event_builder: name of event builder algorithm, if any
evtsel: use an event selector (def: False)

Definition at line 8 of file __init__.py.

00009                                                                            :
00010         '''Set default configuration for DybEventMgr.  Flags:
00011 
00012         use_aes: use the Archive Event Store (def: True)
00013         event_builder: name of event builder algorithm, if any
00014         evtsel: use an event selector (def: False)
00015 
00016         '''
00017 
00018         self.data_svc(use_aes)
00019         self.loop_mgr(event_builder)
00020         #self.loop_std()
00021         if evtsel:
00022             self.loopMgr.EvtSel = "EventSelector"
00023 
00024         from DybEventMgrConf import EvtStoreQuery
00025         esq = EvtStoreQuery("EvtStoreQuery")
00026         esq.UseAes = use_aes    
00027 
00028         return


Member Function Documentation

def DybEventMgr::Configure::data_svc (   self,
  use_aes 
)
Configure the event data service(s)

Definition at line 29 of file __init__.py.

00030                                :
00031         '''
00032         Configure the event data service(s)
00033         '''
00034 
00035         print 'DybEventMgr: configuring EventDataSvc with use_aes=',use_aes
00036         from DybEventMgrConf import DybDataSvc
00037         self.eventDataSvcName = "EventDataSvc" 
00038         eds = DybDataSvc(self.eventDataSvcName)
00039         eds.ForceLeaves = True
00040         eds.UseAes = use_aes
00041         svcmap = [('EventDataArchiveSvc','EvtDataSvc'),
00042                   ('EventDataSvc', 'DybDataSvc')] 
00043 
00044         from DybPython.Control import nuwa
00045         for alias,name in svcmap:
00046             nuwa.add_service_redirect(alias,name)
00047             continue
00048         return

def DybEventMgr::Configure::loop_std (   self)

Definition at line 49 of file __init__.py.

00050                       :
00051         'Configure the Gaudi ELM'
00052         return

def DybEventMgr::Configure::loop_mgr (   self,
  event_builder 
)
Configure the event loop managers

Definition at line 53 of file __init__.py.

00054                                     :
00055         '''
00056         Configure the event loop managers
00057         '''
00058         if event_builder:
00059             from DybEventMgrConf import DybDualEventLoopMgr
00060             loop = DybDualEventLoopMgr('EventLoopMgr')
00061             loop.EventBuilderAlg = event_builder
00062         else:
00063             from DybEventMgrConf import DybEventLoopMgr
00064             loop = DybEventLoopMgr('EventLoopMgr')
00065             pass
00066 
00067         loop.EvtSel = 'NONE'
00068 
00069         from Gaudi.Configuration import ApplicationMgr
00070         app = ApplicationMgr()
00071         app.EventLoop = loop
00072 
00073         self.loopMgr = loop
00074         return
00075 


Member Data Documentation

Definition at line 31 of file __init__.py.

Definition at line 55 of file __init__.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:09:08 for DybEventMgr by doxygen 1.7.4