RegexSD: change ddsim interface to use a dictionary instead of a list
Too much hassle to ensure that the list was not duplicating the entries in the list The original implementation also caused infinite loop by appending to the list that was iterated over causing ddsim to use up all the memory and not do anything Added a test with an example ddsim steering file
Showing
- DDG4/python/DDSim/Helper/Geometry.py 17 additions, 32 deletionsDDG4/python/DDSim/Helper/Geometry.py
- examples/ClientTests/CMakeLists.txt 14 additions, 0 deletionsexamples/ClientTests/CMakeLists.txt
- examples/ClientTests/scripts/BoxOfStraws_DDSim.py 16 additions, 0 deletionsexamples/ClientTests/scripts/BoxOfStraws_DDSim.py
Loading
Please register or sign in to comment