Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:17:46

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    Subtest using CLICSid showing how to setup the Geant4 physics list
0013 
0014    @author  M.Frank
0015    @version 1.0
0016 
0017 """
0018 from __future__ import absolute_import, unicode_literals
0019 import logging
0020 
0021 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
0022 logger = logging.getLogger(__name__)
0023 
0024 if __name__ == "__main__":
0025   from MiniTelSetup import Setup as MiniTel
0026   m = MiniTel()
0027   m.configure()
0028   logger.info("#  Configure G4 geometry setup")
0029   seq, act = m.geant4.addDetectorConstruction("Geant4DetectorGeometryConstruction/ConstructGeo")
0030   act.DebugRegions = True
0031   m.test_config(True)
0032   m.terminate()