Repository navigation
Commit 46cc56e
committed
ZDC: replace legacy fast simulation with an ONNX channel-response model
Generate ZN and ZP photon counts from primary nucleons using an ONNX model packaged with its configuration in a ROOT/CCDB object. Add an end-of-event detector hook and integrate the generated hits with the existing ZDC simulation interface.
The code was written with assistance from Claude Fable 5.2.1 parent 9b8decd commit 46cc56e
28 files changed
Lines changed: 611 additions & 1240 deletions
File tree
- Detectors
- Base/include/DetectorsBase
- ZDC
- base/include/ZDCBase
- fastsimulation
- include
- scales
- src
- tests
- macro
- simulation
- include/ZDCSimulation
- src
- Steer/src
- macro
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
186 | 193 | | |
187 | 194 | | |
188 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments