Repository navigation
enable ATLAS stepping action on GPU - #757
SeverinDiederichs merged 1 commit into
Conversation
|
/run-test |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e554bc964e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
agheata
left a comment
There was a problem hiding this comment.
No blocking issues found.
- The kill predicate is the same as Athena's
DeadMaterialShower::ModelTrigger(athena main). If |z| < ZCutoff, only e+- with E < LowEnergy are killed. If |z| >= ZCutoff, everything with E <= HighEnergy is killed (Athena keeps only E > HighEnergy).SimpleFastKillerkills every track. The unit test covers both cut edges. - The action runs at the start of each step in the monolithic, split and WDT gamma kernels, so a track is killed where Athena's fast-simulation trigger would kill it. A killed track deposits no energy, and a killed positron does not annihilate (its slot is freed before annihilation is reached). When steps are returned, the terminal zero-length step is still recorded.
- The
InitVolAuxDataflags and the WDT envelope check copy the existing CMS dead-region code. The CI matrix builds withADEPT_STEPPINGACTION=ATLAS, so the new unit tests ran in the unit suite. Drift matched master, which is expected because no kill regions are configured by default. - The two Codex P2 threads (a region in both kill lists; ATLAS built with WDT off) cannot happen with Athena's configuration and need no code.
Assisted by Claude Code (Claude Opus 5.5)
This PR implements a stepping action for ATLAS on GPU. It mimics the dead material and beam pipe killers in ATLAS. Before, only the calorimeters were offloaded, so it was not relevant, when offloading everything, this enables to keep the two regions on the GPU, which avoids CPU-GPU handovers.
It is implemented the same way as the CMS stepping action and is then configurable from the AdePTConfiguration in the Athena physics list.