00001 #!/usr/bin/env python 00002 00003 def GGInStream(volume): 00004 from GaudiPython import AppMgr 00005 from GaudiKernel import SystemOfUnits as units 00006 00007 app = AppMgr() 00008 00009 ggin = app.algorithm("GGInStream") 00010 ggin.OutputLevel = 0 00011 ggin.ExecuteOnce = True 00012 ggin.ConversionSvcName = "GiGaGeo" 00013 ggin.DataProviderSvcName = "DetectorDataSvc" 00014 ggin.StreamItems = [ # volume ] 00015 #"/dd/Structure/steel-2/water-2" 00016 # some of them don't work? 00017 #"/dd/Structure/AD/la-oil2" 00018 "/dd/Structure/Sites/la-rock" #why??? 00019 #"/dd/Structure/AD/far-ade3", 00020 ] 00021 00022 return