|
||||
File indexing completed on 2025-01-18 09:14:58
0001 # ========================================================================== 0002 # AIDA Detector description implementation 0003 # -------------------------------------------------------------------------- 0004 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 # All rights reserved. 0006 # 0007 # For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 # 0010 # ========================================================================== 0011 # 0012 """ 0013 0014 Perform a material scan using Geant4 shotting geantinos 0015 0016 @author M.Frank 0017 @version 1.0 0018 0019 """ 0020 from __future__ import absolute_import, unicode_literals 0021 import os 0022 import DDG4 0023 0024 0025 def run(): 0026 kernel = DDG4.Kernel() 0027 install_dir = os.environ['DD4hepExamplesINSTALL'] 0028 kernel.loadGeometry("file:" + install_dir + "/examples/OpticalSurfaces/compact/OpNovice.xml") 0029 0030 0031 if __name__ == "__main__": 0032 run()
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |