Celeritas
0.5.0-86+4a8eea4
|
Wrap an Interaction executor to apply it to a track. More...
#include <InteractionApplier.hh>
Public Member Functions | |
CELER_FUNCTION void | operator() (celeritas::CoreTrackView const &) |
Sample an interaction and apply to the track view. More... | |
Public Attributes | |
F | sample_interaction |
Wrap an Interaction executor to apply it to a track.
The function F must take a CoreTrackView
and return a Interaction
CELER_FUNCTION void celeritas::InteractionApplierBaseImpl< F >::operator() | ( | celeritas::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.