Skip to content

Commit

Permalink
Enable random seed printout to debug flaky BoxOfStraws example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Feb 18, 2025
1 parent 3801c38 commit 42956b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/ClientTests/scripts/BoxOfStraws_DDSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

# make ddsim find the sensitive detector for box of straws
SIM.action.calorimeterSDTypes = ['sensitive']

# Trigger printout of event seed
SIM.random.enableEventSeed = True

# Fix random seed for all events (debugging only):
# SIM.random.seed = <number>
# SIM.random.seed = <number>

SIM.filter.calo = ""

# Configure the regexSD for the BoxOfStraws gas_
Expand Down

0 comments on commit 42956b1

Please sign in to comment.