def METHOD_NAME():
  kernel = DDG4.Kernel()
  description = kernel.detectorDescription()
  install_dir = os.environ['DD4hepINSTALL']
  DDG4.Core.setPrintFormat(str("%-32s %6s %s"))
  kernel.loadGeometry(str("file:" + install_dir + "/DDDetectors/compact/SiD.xml"))
  DDG4.importConstants(description)
  kernel.NumberOfThreads = 3
  kernel.RunManagerType = 'G4MTRunManager'
  geant4 = DDG4.Geant4(kernel, tracker='Geant4TrackerCombineAction')
  logger.info("#  Configure UI")
  geant4.setupCshUI()
  logger.info("#  Geant4 user initialization action")
  geant4.addUserInitialization(worker=setupWorker, worker_args=(geant4,),
                               master=setupMaster, master_args=(geant4,))
  logger.info("#  Configure G4 geometry setup")
  seq, act = geant4.addDetectorConstruction("Geant4DetectorGeometryConstruction/ConstructGeo")
  logger.info("# Configure G4 sensitive detectors: python setup callback")
  seq, act = geant4.addDetectorConstruction("Geant4PythonDetectorConstruction/SetupSD",
                                            sensitives=setupSensitives, sensitives_args=(geant4,))
  logger.info("# Configure G4 sensitive detectors: atach'em to the sensitive volumes")
  seq, act = geant4.addDetectorConstruction("Geant4DetectorSensitivesConstruction/ConstructSD")
  #                                           allow_threads=True)
  logger.info("#  Configure G4 magnetic field tracking")
  geant4.setupTrackingFieldMT()
  logger.info("#  Setup random generator")
  rndm = DDG4.Action(kernel, 'Geant4Random/Random')
  rndm.Seed = 987654321
  rndm.initialize()
  # rndm.showStatus()
  logger.info("#  Now build the physics list:")
  phys = geant4.setupPhysics('QGSP_BERT')
  phys.dump()
  geant4.METHOD_NAME()