Initalise Annular detector
Type | Intent | Optional | 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. |