You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review: let a model override DoIt, and fix the example's config
- DoIt is Geant4's own entry point and is no longer final, so a model that does
not fit the common shape can replace it rather than work around it.
- Its comment now says what it is: it wraps the logic common to every model and
delegates the physics to sample().
- The example passed G4.fastSimRegions=ABSO_AIR_ENVELOPE, which overrides the
envelope walk with a region containing only AFaM and reproduces exactly the
behaviour this branch fixes. It now passes G4.fastSimEnvelope=AFaM.
- Drops an unreachable guard in the toy model: ModelTrigger only calls it above
its threshold and an exponential of a finite path cannot reach zero.
- Comment wording throughout: say what a class is rather than what O2 used to
lack, and "encloses" rather than "measures against".
0 commit comments