Commit d48b3a3
Cross-check the geometry doctor's reachability audit against VecGeom
This lets the reachability audit ask a second navigator the same question, so
that a placement's shadowing can be told apart from one navigator's arbitrary
choice inside an overlap.
- GeometryManager gains ensureVecGeomWorld() and vecGeomLocate(), which return
the TGeo nodes of the path VecGeom locates a point in. Neither exposes a
VecGeom type, and both answer at runtime, so a caller that does not see the
private O2_WITH_VECGEOM define can still use them.
- The doctor takes --navigator tgeo|vecgeom|both. 'both' reports the placements
where the two engines disagree about who owns a point.
- The converter flattens assemblies, so a VecGeom path is the TGeo path with its
assembly levels removed and a flattened node is renamed
<original>_assemblyinternalcount_<n>. The comparison accounts for both.
- On the full ALICE geometry at 1000 samples, 575 of 27647 placements disagree.
Both navigators independently find the same five unreachable MCH and beam pipe
placements; they differ on the HMPID absorbers, which TGeo gives 9.7 % of their
own material and VecGeom gives all of it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 7f7b4f7 commit d48b3a3
4 files changed
Lines changed: 236 additions & 32 deletions
File tree
- Detectors/Base
- include/DetectorsBase
- src
- run
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
141 | 154 | | |
142 | 155 | | |
143 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments