Celeritas 0.6.0-67+develop.47f47c88
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::optical::WavelengthShiftInteractor Class Reference

Sample state change and number of secondaries from a WLS interaction. More...

#include <WavelengthShiftInteractor.hh>

Public Member Functions

CELER_FUNCTION 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 >
CELER_FUNCTION Interaction operator() (Engine &rng)
 Sampling the wavelength shift (WLS) photons.
 

Detailed Description

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.

Todo:
Initialize the first secondary directly in the parent's track slot.

The documentation for this class was generated from the following file: