annulus_dect Interface

public interface annulus_dect

Module Procedures

private function init_annulus_dect(pos, dir, layer, r1, r2, nbins, maxval, trackHistory) result(out)

Initalise Annular detector

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: pos

Centre of detector

type(vector), intent(in) :: dir

Normal of the detector

integer, intent(in) :: layer

Layer ID

real(kind=wp), intent(in) :: r1

Inner radius

real(kind=wp), intent(in) :: r2

Outer radius

integer, intent(in) :: nbins

Number of bins in the detector

real(kind=wp), intent(in) :: maxval

Maximum value to store in bins

logical, intent(in) :: trackHistory

Boolean on if to store photon's history prior to hitting the detector.

Return Value type(annulus_dect)