Skip to content

Commit 42956b1

Browse files
Enable random seed printout to debug flaky BoxOfStraws example
1 parent 3801c38 commit 42956b1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎examples/ClientTests/scripts/BoxOfStraws_DDSim.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
# make ddsim find the sensitive detector for box of straws
55
SIM.action.calorimeterSDTypes = ['sensitive']
6+
7+
# Trigger printout of event seed
68
SIM.random.enableEventSeed = True
9+
710
# Fix random seed for all events (debugging only):
8-
# SIM.random.seed = <number>
11+
# SIM.random.seed = <number>
12+
913
SIM.filter.calo = ""
1014

1115
# Configure the regexSD for the BoxOfStraws gas_

0 commit comments

Comments
 (0)