MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CoherentScattering Class Reference

Class which represents the coherent scattering interaction. More...

#include <photon_interactions.h>

Collaboration diagram for CoherentScattering:

Public Member Functions

double interact (Particle &photon, Material &material) override
 Performs the coherent scattering interaction.
 

Additional Inherited Members

- Protected Attributes inherited from ParticleInteractionBehavior
ProbabilityDist::Uniform uniform_dist_ {0.0, 1.0}
 

Detailed Description

Class which represents the coherent scattering interaction.

Definition at line 37 of file photon_interactions.h.

Member Function Documentation

◆ interact()

double CoherentScattering::interact ( Particle & photon,
Material & material )
overridevirtual

Performs the coherent scattering interaction.

Utilizes the RITA algorithm to sample the scattering angle. Samples a runtime DCS from the material data to get the scattering angle. No energy is deposited.

Parameters
photonThe photon to interact.
materialThe material to interact with.
Returns
The energy deposited at location of interaction. Always 0.

Implements ParticleInteractionBehavior.


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