From 474ce71affe52ef8b725b8e71317606c8b8a7335 Mon Sep 17 00:00:00 2001 From: Markus Frank Date: Tue, 10 Dec 2024 14:17:24 +0100 Subject: [PATCH] Allow for smartless configuration of volumes in Geant4 --- examples/ClientTests/scripts/DriftChamber.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/ClientTests/scripts/DriftChamber.py b/examples/ClientTests/scripts/DriftChamber.py index bf90f5052..0c35bfbf6 100644 --- a/examples/ClientTests/scripts/DriftChamber.py +++ b/examples/ClientTests/scripts/DriftChamber.py @@ -67,11 +67,6 @@ def run(): rndm.Seed = int(time.time()) rndm.initialize() - logger.info(""" - Configure I/O - """) - geant4.setupROOTOutput('RootOutput', 'DriftChamber_' + time.strftime('%Y-%m-%d_%H-%M')) - gen = DDG4.GeneratorAction(kernel, "Geant4GeneratorActionInit/GenerationInit") kernel.generatorAction().adopt(gen) @@ -103,7 +98,6 @@ def run(): logger.info("# ....and handle the simulation particles.") part = DDG4.GeneratorAction(kernel, "Geant4ParticleHandler/ParticleHandler") kernel.generatorAction().adopt(part) - # part.SaveProcesses = ['conv','Decay'] part.SaveProcesses = ['Decay'] part.MinimalKineticEnergy = 100 * MeV part.OutputLevel = 5 # generator_output_level @@ -121,10 +115,6 @@ def run(): ph = geant4.addPhysics(str('Geant4PhysicsList/Myphysics')) ph.addPhysicsConstructor(str('G4StepLimiterPhysics')) # - # Add special particle types from specialized physics constructor - part = geant4.addPhysics(str('Geant4ExtraParticles/ExtraParticles')) - part.pdgfile = os.path.join(install_dir, 'examples/DDG4/examples/particle.tbl') - # phys.dump() # kernel.configure()