Functions | |
def | configure |
def | run |
def TESDemo::__init__::configure | ( | ) |
Definition at line 14 of file __init__.py.
00014 : 00015 from Gaudi.Configuration import ApplicationMgr 00016 theApp = ApplicationMgr() 00017 00018 from MockEvt.MockEvtConf import MockEvtStorageSvc 00019 storeSvc = MockEvtStorageSvc("DybStorageSvc") 00020 theApp.ExtSvc.append(storeSvc) 00021 00022 from DybEventMgr.DybEventMgrConf import ArchiveTrimSvc 00023 trimSvc = ArchiveTrimSvc() 00024 theApp.ExtSvc.append(trimSvc) 00025 trimSvc.DefaultWindowSeconds = 0.0001 # not in system-of-units time! 00026 00027 from TESDemo.TESDemoConf import TESDemoTracing, TESDemoTrim, TESDemoFill1, \ 00028 TESDemoFill2, TESDemoUse, TESDemoMark, TESDemoOutput 00029 00030 tracing = TESDemoTracing() 00031 tracing.On = 1 00032 theApp.TopAlg.append(tracing) 00033 00034 trim = TESDemoTrim() 00035 theApp.TopAlg.append(trim) 00036 00037 fill1 = TESDemoFill1() 00038 fill1.PositronPercentage = 20 00039 theApp.TopAlg.append(fill1) 00040 00041 fill2 = TESDemoFill2() 00042 fill2.NeutronPercentage = 40 00043 theApp.TopAlg.append(fill2) 00044 00045 mark = TESDemoMark() 00046 theApp.TopAlg.append(mark) 00047 00048 out = TESDemoOutput() 00049 theApp.TopAlg.append(out) 00050 00051 return 00052 def run(app):
def TESDemo::__init__::run | ( | app | ) |