Structure

Radiant.ComptonType
Compton

Structure used to define parameters for production of multigroup Compton cross-sections.

Mandatory field(s)

  • N/A

Optional field(s) - with default values

  • interaction_types::Dict{Tuple{DataType,DataType},Vector{String}} = Dict((Photon,Photon) => ["S"],(Photon,Electron) => ["P"]) : Dictionary of the interaction processes types, of the form (incident particle,outgoing particle) => associated list of interaction type, which values correspond:
    • (Photon,Photon) => ["S"] : scattering of incident photon following Compton interaction.
    • (Photon,Electron) => ["P"] : produced electron following Compton interaction.
source

Methods

Radiant.set_interaction_typesMethod
set_interaction_types(this::Compton,interaction_types::Dict{Tuple{DataType,DataType},Vector{String}})

To define the interaction types for Compton processes.

Input Argument(s)

  • this::Compton : compton structure.
  • interaction_types::Dict{Tuple{DataType,DataType},Vector{String}} : Dictionary of the interaction processes types, of the form (incident particle,outgoing particle) => associated list of interaction type, which can be:
    • (Photon,Photon) => ["S"] : scattering of incident photon following Compton interaction.
    • (Photon,Electron) => ["P"] : produced electron following Compton interaction.

Output Argument(s)

N/A

Examples

julia> compton = Compton()
julia> compton.set_interaction_types( Dict((Photon,Photon) => ["S"]) ) # Electron are absorbed following Compton interaction.
source