Skip to content

Commit

Permalink
Example FastSimGFlash: add Emax
Browse files Browse the repository at this point in the history
for some reason, this fixes the nans and error in the test
  • Loading branch information
andresailer committed Aug 24, 2023
1 parent 6c8a96f commit 25fcdf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/ClientTests/scripts/SiliconBlockGFlash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25fcdf1

Please sign in to comment.