This commit is contained in:
Jan Kieseler
2023-09-19 09:36:23 +00:00
parent 4844777b5c
commit 57b07347cf
+1 -1
View File
@@ -9,7 +9,7 @@ from IPython.display import Image, display
class G4System(_G4System):
def run_visualize(self,particleSpec : str, minEnergy: float, maxEnergy:float = -1.):
def run_visualize(self,particleSpec : str, minEnergy_GeV: float, maxEnergy_GeV:float = -1.):
if maxEnergy < 0:
maxEnergy = minEnergy
_G4System.run_visualize(self, particleSpec, minEnergy_GeV, maxEnergy_GeV)