|
MIDSX 0.1
A x-ray transport code system for dosimetry
|
Class which represents the incoherent scattering interaction. More...
#include <photon_interactions.h>
Public Member Functions | |
| double | interact (Particle &photon, Material &material) override |
| Performs the incoherent scattering interaction. | |
Private Member Functions | |
| bool | isAcceptedByScatteringFunction (double mu, double k, Material &material) |
| double | changeTrajectoryAndReturnEnergyForCoherentScattering (Particle &photon, double mu, double k, double k_prime) |
Additional Inherited Members | |
Protected Attributes inherited from ParticleInteractionBehavior | |
| ProbabilityDist::Uniform | uniform_dist_ {0.0, 1.0} |
Class which represents the incoherent scattering interaction.
Definition at line 54 of file photon_interactions.h.
Performs the incoherent scattering interaction.
Uses Kahn's algorithm to sample the Klein-Nishina distribution. Then performs an additional rejection sampling on the Scattering Function to get the scattering angle and new energy.
| photon | The photon to interact. |
| material | The material to interact with. |
Implements ParticleInteractionBehavior.