From 6e591c6255f3d273d75a2768cd369a1a059ed7a0 Mon Sep 17 00:00:00 2001 From: Jan Kieseler Date: Sat, 7 Oct 2023 11:16:41 +0200 Subject: [PATCH] clean up --- bind/G4Calo.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bind/G4Calo.py b/bind/G4Calo.py index fe193fa..540db2e 100644 --- a/bind/G4Calo.py +++ b/bind/G4Calo.py @@ -11,14 +11,7 @@ from IPython.display import Image, display class __G4System(_G4System): - def run_visualize( - self, particleSpec: str, minEnergy_GeV: float, maxEnergy_GeV: float = -1.0 - ): - if maxEnergy_GeV < 0: - maxEnergy_GeV = minEnergy_GeV - # anpassen: run 1 event and get stuff from construction wrapper - _G4System.run_visualize(self, particleSpec, minEnergy_GeV, maxEnergy_GeV) - self.displayEvent() + def run_batch( self,