clean up
This commit is contained in:
+1
-8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user