Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement detector action for optical physics #1648

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

lebuller
Copy link
Contributor

@lebuller lebuller commented Mar 3, 2025

This PR creates a new optical step action class for performing a calorimeter action, CaloAction. This class executes at the user_post order step and the step function of this class calls a CaloExecutor for each track. This CaloExecutor struct checks for tracks that still have active/alive status at the user_post stage and checks there volume id against a list of input optical detector volume ids. If the track is alive and is in a volume corresponding to an optical detector, it contributes to the detector and is killed. The "contribution" is currently just to print out the volume the particle is killed in and the energy of the particle at this stage, will need to be expanded in future MR

Copy link

github-actions bot commented Mar 3, 2025

Test summary

  220 files    345 suites   17s ⏱️
1 356 tests 1 315 ✅ 41 💤 0 ❌
1 364 runs  1 360 ✅  4 💤 0 ❌

Results for commit 5953496.

@sethrj sethrj added enhancement New feature or request physics Particles, processes, and stepping algorithms labels Mar 4, 2025
@sethrj sethrj changed the title Implement detector action for optical physics *:enhancement,physics Implement detector action for optical physics Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request physics Particles, processes, and stepping algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants