|
Celeritas 0.7.0-dev.196+develop.8d0d9047c
|
Wrap an interaction executor and apply it to a track. More...
#include <InteractionApplier.hh>
Public Member Functions | |
| CELER_FUNCTION void | operator() (CoreTrackView const &) |
| Sample an interaction and apply to the track view. | |
Public Attributes | |
| F | sample_interaction |
Wrap an interaction executor and apply it to a track.
The function F must take a CoreTrackView and return a Interaction
| CELER_FUNCTION void celeritas::optical::InteractionApplier< F >::operator() | ( | CoreTrackView const & | track | ) |
Sample an interaction and apply to the track view.
The given track must be an active track with the correct step limit action ID.