Functions | |
def | configure |
def DybAlg::mpt::configure | ( | ) |
Definition at line 13 of file mpt.py.
00013 : 00014 import DybAlg 00015 import GaudiKernel.SystemOfUnits as units 00016 from DybAlg.DybAlgConf import DybModifyProperties 00017 mp = DybModifyProperties() 00018 # v = ['ABSLENGTH','0.003'] 00019 # mp.ModifyPropertyMap['/dd/Materials/Water'] = v 00020 v = ['ABSLENGTH','NEWCONSTANT',str(50.00*units.mm)] 00021 mp.ModifyPropertyMap['/dd/Materials/Acrylic'] = v 00022 #v = ['RINDEX','NEWCONSTANT','1.000'] 00023 #mp.ModifyPropertyMap['/dd/Materials/Acrylic'] = v 00024 v = ['RINDEX','NEWCONSTANT','1.2'] 00025 mp.ModifyPropertyMap['/dd/Materials/LiquidScintillator'] = v 00026 00027 v = ['FASTCOMPONENT','NEWCONSTANT',str(4.3434*units.ns)] 00028 mp.ModifyPropertyMap['/dd/Materials/GdDopedLS'] = v 00029 00030 00031 00032 from Gaudi.Configuration import ApplicationMgr 00033 theA = ApplicationMgr() 00034 theA.TopAlg.append(mp) 00035 00036 return return