This commit is contained in:
Jan Kieseler
2023-10-07 11:16:41 +02:00
parent 51001d1b59
commit 6e591c6255
+1 -8
View File
@@ -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,