Commit 07719f4
Let the ZEM calorimeters be built without the far beam line
This adds two ZDCSimParam switches so a simulation can keep the ZEM geometry
without paying for transport to the ZN/ZP calorimeters at +-113 m.
- The ZDC geometry is the +-113 m beam line, its magnets, ZN, ZP and ZEM; the
transport cost is the beam line, while ZEM sits at z = 7.6 m.
- buildBeamLine=false skips the beam line, the magnets and ZN/ZP; buildZEM
controls the ZEM calorimeters.
- The ZN and ZP construction moves into createZNZP() and the ZEM construction
into createZEM(), so createDetectors() shows what depends on the beam line.
- The PMC and PMQ medium ids move ahead of that branch: ProcessHits compares
every step against them for ZEM too, so leaving them in the ZN block gave ZEM
hits with no energy loss and no light yield.
- The ZN/ZP sensitive volume lookups are guarded so they no longer abort when
the volumes are absent.
- 20 pythia8pp events with TGeant3: 276.9 s with the full ZDC, 141.6 +- 1.1 s
with --skipModules ZDC, 136.9 +- 1.9 s with buildBeamLine=false.
- 50 events of 20 muons at 200 GeV into 4.6 < eta < 5.3 give 234 ZEM hits with
2167 photoelectrons at buildBeamLine=false, against 230 hits and 2097 with the
full ZDC.
https://its.cern.ch/jira/browse/O2-7158
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent d80c5cb commit 07719f4
3 files changed
Lines changed: 66 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
253 | 260 | | |
254 | 261 | | |
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
258 | 265 | | |
259 | 266 | | |
260 | | - | |
| 267 | + | |
261 | 268 | | |
262 | 269 | | |
263 | 270 | | |
| |||
2068 | 2075 | | |
2069 | 2076 | | |
2070 | 2077 | | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
2071 | 2094 | | |
2072 | 2095 | | |
2073 | 2096 | | |
| |||
2082 | 2105 | | |
2083 | 2106 | | |
2084 | 2107 | | |
2085 | | - | |
2086 | | - | |
2087 | 2108 | | |
2088 | 2109 | | |
2089 | 2110 | | |
| |||
2300 | 2321 | | |
2301 | 2322 | | |
2302 | 2323 | | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2303 | 2329 | | |
2304 | 2330 | | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
2305 | 2335 | | |
2306 | 2336 | | |
2307 | 2337 | | |
| |||
0 commit comments