Repository navigation
o2-sim: Make the lean crossing locate the VecGeom default - #16166
Merged
sawenzel merged 1 commit intoNov 23, 2026
Merged
Conversation
Collaborator
|
Error while checking build/O2/fullCI_slc9 for c1c1773 at 2026-11-21 14:29: Full log here. |
This makes the lean crossing locate the default of the relocating VecGeom navigator and moves its navigator choice into the geometry setup. - G4.vecgeomLeanLocate now defaults to true; false keeps the previous locate as a fallback for one release. - GeometryManager::setVecGeomBvhForSmallMothers gives volumes with one or two daughters BVHNavigatorV, replacing the per-step choice in the navigator. - Those volumes also get BVHSafetyEstimator, the estimator BVHNavigatorV uses in the step, so ComputeSafety and the step agree. - Their level locators are unchanged; kPropagated and the previous locate keep the simple navigator and estimator. - The BVH navigator is installed under the same O2_VECGEOM_HAS_BVH_VNAVIGATOR guard as in buildVecGeomGeometry. - The lean navigator checks this setting at every new track, and every caller of its constructor states the locate. - The unit test sets the geometry up for each navigator as o2-sim does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sawenzel
force-pushed
the
swenzel/o2sim-vecgeom-lean-default
branch
from
November 23, 2026 12:33
c1c1773 to
2bdd877
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes the lean crossing locate the default of
G4.navmode=kVecGeomand moves the choice of VecGeom navigator for small mothers into the geometry setup.G4.vecgeomLeanLocate=falsekeeps the previous locate as a fallback for one release.The effect on the event loop, serial pp, 6 seeds, same build and node:
The physics agrees with TGeo as well as the previous locate does: 1 GeV photons in EMCAL 0.9999 ± 0.0007 of TGeo; pp (8 × 3000 events), Pb-Pb (2 × 20) and the aligned ITS with the parallel world (2 × 600, ITS hits 1.007 ± 0.005) within 2σ in every detector; no aborts. MID in pp is 0.948 ± 0.026 of TGeo over 8 seeds and 0.986 ± 0.032 over the 6 seeds after the first observation; a pion gun into the muon arm gives 1.006 ± 0.023.
The mechanism was merged in #16165.
Assisted by Claude Code.