test: add dune mock geometr to simg4ox test#411
Draft
plexoos wants to merge 3 commits into
Draft
Conversation
plexoos
force-pushed
the
test-dune-mock-detector
branch
from
July 10, 2026 16:06
9c9c253 to
b5de81c
Compare
Map Geant4 steps that enter a sensitive detector volume to SURFACE_DETECT in the CPU SEvt record. The detector surface can otherwise appear as SURFACE_SREFLECT followed by a terminal NAN_ABORT, which does not match the Opticks-side detector history. When this conversion happens, preserve the incoming pre-step momentum and polarization so the recorded detector point keeps the same direction convention as the GPU record. Also skip the redundant NAN_ABORT step after a detection has already been recorded.
Teach U4StepPoint to classify native Geant4 OpWLS as BULK_ABSORB so the existing SEvt rejoin path can rewrite the parent record to BULK_REEMIT when the reemitted photon starts tracking. Label optical secondaries produced by a tracked photon with the next-generation lineage of the parent. This keeps WLS reemission in the same photon record instead of fabricating a new photon id, which previously overflowed the 100-photon nested DUNE event.
plexoos
force-pushed
the
test-dune-mock-detector
branch
from
July 17, 2026 20:04
b5de81c to
efb4077
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.
No description provided.