Commit d94e0db
authored
[starsim] Fix logic handling multiple hit banks in the stgc (#499)
g2t_stg.F copies hits from the three sensitive volumes into the single
g2t_stg_hit table.
When no hits are registered in a single sensitive volume, the loop
_should_ proceed to
query the next SV for hits. Instead, the code branched to the return
statement, resulting
in no hits being saved for the remaining SVs.
This PR fixes the issue.1 parent 28b6c4f commit d94e0db
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments