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