Classes | |
class | ExampleAlg |
Functions | |
def | configure |
def | run |
Variables | |
ServiceMode = gbl.ServiceMode |
def ExamplePmtId::configure | ( | ) |
Definition at line 86 of file ExamplePmtId.py.
00086 : 00087 from DetHelpers.DetHelpersConf import PmtGeomInfoSvc 00088 pgiSvc = PmtGeomInfoSvc() 00089 pgiSvc.StreamItems = ["/dd/Structure/DayaBay"] 00090 import DataSvc 00091 DataSvc.Configure() 00092 return 00093 def run(app):
def ExamplePmtId::run | ( | app | ) |
Configure and add an algorithm to job
Definition at line 94 of file ExamplePmtId.py.
00094 : 00095 ''' 00096 Configure and add an algorithm to job 00097 ''' 00098 app.ExtSvc += ["StaticCableSvc", "PmtGeomInfoSvc"] 00099 example = ExampleAlg("MyExample") 00100 app.addAlgorithm(example) 00101 pass 00102
ExamplePmtId::ServiceMode = gbl.ServiceMode [static] |
Definition at line 13 of file ExamplePmtId.py.