camera Interface

public interface camera

Module Procedures

private function init_camera(p1, p2, p3, layer, nbins, maxval, trackHistory) result(out)

Initalise Camera detector

Arguments

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

Position of the 1st corner of the detector

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

Distance from p1 to the 2nd corner

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

Distance from p1 to the 3rd corner

integer, intent(in) :: layer

Layer ID

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(camera)