celeritas icon indicating copy to clipboard operation
celeritas copied to clipboard

Implement detector action for optical physics

Open lebuller opened this issue 9 months ago • 1 comments

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

lebuller avatar Mar 03 '25 16:03 lebuller

Test summary

0 tests   0 :white_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit c0f0cd7c.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Mar 03 '25 16:03 github-actions[bot]

I think this is superseded by @2077 and in either way has diverged way too much since this was first pushed ☹️

sethrj avatar Dec 05 '25 00:12 sethrj