/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
RootIOSvc::Configure Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 eventSelectorName

Detailed Description

Definition at line 20 of file __init__.py.


Constructor & Destructor Documentation

def RootIOSvc::Configure::__init__ (   self,
  input_streams,
  output_streams,
  force_readout 
)
Do default configuration of RootIOSvc.  The given input and
output streams are maps between locations in the TES and
files.  The special location "default" is used when locations
are not explicitly listed.

Definition at line 23 of file __init__.py.

00024                                                                  :
00025         '''Do default configuration of RootIOSvc.  The given input and
00026         output streams are maps between locations in the TES and
00027         files.  The special location "default" is used when locations
00028         are not explicitly listed.'''
00029 
00030         self.eventSelectorName = None
00031 
00032         from Gaudi.Configuration import ApplicationMgr
00033         theApp = ApplicationMgr()
00034 
00035         theApp.EvtSel = "NONE"  # retarded
00036 
00037         if not (input_streams or output_streams): 
00038             print "Note: No file I/O requested."
00039             return
00040 
00041         if input_streams:
00042             self.eventSelectorName = "EventSelector"
00043             theApp.EvtSel = ""  # retarded
00044             from DybIO.DybIOConf import DybEvtSelector
00045             theApp.ExtSvc += [ DybEvtSelector(self.eventSelectorName) ]
00046 
00047         if output_streams:              
00048             from DybIO.DybIOConf import DybStorageSvc
00049             theApp.ExtSvc += [ DybStorageSvc() ]
00050 
00051         from RootIOSvc.RootIOSvcConf import RootIOCnvSvc
00052         rio = RootIOCnvSvc()
00053         theApp.ExtSvc.append(rio)
00054         from GaudiSvc.GaudiSvcConf import EvtPersistencySvc
00055         per = EvtPersistencySvc()
00056         per.CnvServices = [ rio ];
00057 
00058         print 'input_streams=',str(input_streams)
00059         print 'output_streams=',str(output_streams)
00060 
00061         rio.InputStreams = wash_streams(input_streams)
00062         rio.OutputStreams = output_streams
00063 
00064         return
00065 


Member Data Documentation

Definition at line 26 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 09:58:18 for RootIOSvc by doxygen 1.7.4