|
Celeritas 0.7.0-dev.242+develop.62c3034b
|
Sample state change and number of secondaries from a WLS interaction. More...
#include <WavelengthShiftInteractor.hh>
Public Member Functions | |
| WavelengthShiftInteractor (NativeCRef< WavelengthShiftData > const &shared, ParticleTrackView const &particle, SimTrackView const &sim, Real3 const &pos, OptMatId const &mat_id) | |
| Construct with shared and state data. | |
| template<class Engine > | |
| Interaction | operator() (Engine &rng) |
| Sampling the wavelength shift (WLS) photons. | |
Sample state change and number of secondaries from a WLS interaction.
The number of photons is sampled from a Poisson distribution. The secondary photons are sampled later by the WavelengthShiftGenerator.