HPGe detector distance to surface

Geant4 has the possibility to compute the distance of points to the surface of a solid. This is saved in the remage germanium output scheme for use in detector post-processing. This section of the validation report validates this calculation by comparing to one from python.

These tests fill fail if the difference is large, and we also produce some plots showing the computed distance compared to the profile of the detectors.

In this output scheme it is possible to save the position of the step based on either the pre or post-step point or the average of the two. All three options are used.

_images/distance-ge-average.output.png

For the average of pre and post-step point, used by default.

 

_images/distance-ge-poststep.output.png

For the poststep point.

 

_images/distance-ge-prestep.output.png

For the pre-step point