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

In This Package:

SpadeSvc::__init__ Namespace Reference


Functions

def configure
def run

Variables

list __all__
 spade_subcategory = None

Function Documentation

def SpadeSvc::__init__::configure (   argv = []  ) 

Configures this module

Definition at line 9 of file __init__.py.

00009                         :
00010     """Configures this module"""
00011     import sys, getopt
00012     opts,args = getopt.getopt(argv,
00013                               "-S:")
00014     for opt,arg in opts:
00015         if opt == "-S":
00016             global spade_subcategory
00017             spade_subcategory = arg
00018             print "======================================================"
00019             print "Spade subcategory set to '" + spade_subcategory + "'"
00020             print "======================================================"
00021             pass
00022         continue
00023 
00024     from RootIOSvc.RootIOSvcConf import RootIOFileStateSvc
00025     fss = RootIOFileStateSvc()
00026 
00027     from Gaudi.Configuration import ApplicationMgr
00028     theApp = ApplicationMgr()
00029     theApp.ExtSvc.append(fss)
00030 
00031 
def run(app):

def SpadeSvc::__init__::run (   app  ) 

Installs the SpadeAlgo that writes the SPADE metadate file

Definition at line 32 of file __init__.py.

00032             :
00033     """Installs the SpadeAlgo that writes the SPADE metadate file"""
00034 
00035     from SpadeAlgo import SpadeAlgo
00036     algo = SpadeAlgo()
00037     global spade_subcategory
00038     algo.subcategory = spade_subcategory
00039     app.addAlgorithm(algo)
    app.addAlgorithm(algo)


Variable Documentation

list SpadeSvc::__init__::__all__ [static]

Initial value:

['Configure',
           'SpadeAlgo',
           'Metadata']

Definition at line 3 of file __init__.py.

SpadeSvc::__init__::spade_subcategory = None [static]

Definition at line 7 of file __init__.py.

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

Generated on Mon Apr 11 20:12:48 2011 for SpadeSvc by doxygen 1.4.7