From 25fcdf1d258415ec486d9ab868b2df7a89d54c96 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Wed, 23 Aug 2023 17:11:29 +0200 Subject: [PATCH] Example FastSimGFlash: add Emax for some reason, this fixes the nans and error in the test --- examples/ClientTests/scripts/SiliconBlockGFlash.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ClientTests/scripts/SiliconBlockGFlash.py b/examples/ClientTests/scripts/SiliconBlockGFlash.py index 732150184..a07c331a4 100644 --- a/examples/ClientTests/scripts/SiliconBlockGFlash.py +++ b/examples/ClientTests/scripts/SiliconBlockGFlash.py @@ -100,6 +100,7 @@ def run(): model.Enable = True # Energy boundaries are optional: Units are GeV model.Emin = {'e+': 0.1 * GeV, 'e-': 0.1 * GeV} + model.Emax = {'e+': 100 * GeV, 'e-': 100 * GeV} model.Ekill = {'e+': 0.1 * MeV, 'e-': 0.1 * MeV} model.enableUI() seq.adopt(model)