Repository navigation
Commit d0f3e08
Rebuild the geometry voxels after alignment
This fixes a crash of o2-sim in multithreaded Geant4 mode when the alignment is applied.
- TGeoPhysicalNode::Align only flags the voxels and assembly bounding boxes of the mother volumes for a rebuild.
- The rebuild then happens lazily during navigation, concurrently in several transport threads, and corrupts the heap.
- They are now rebuilt once at the end of MisalignGeometry, before transport starts.
https://its.cern.ch/jira/browse/O2-7305
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 30e8785 commit d0f3e08
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
360 | 379 | | |
361 | 380 | | |
362 | 381 | | |
| |||
0 commit comments