Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-14 08:23:10

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 import logging
0019 
0020 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
0021 logger = logging.getLogger(__name__)
0022 
0023 if __name__ == "__main__":
0024   from MiniTelSetup import Setup as MiniTel
0025   m = MiniTel()
0026   m.configure()
0027   logger.info("#  Configure G4 geometry setup")
0028   seq, act = m.geant4.addDetectorConstruction("Geant4DetectorGeometryConstruction/ConstructGeo")
0029   act.DebugRegions = True
0030   m.test_config(True)
0031   m.terminate()