Skip to content

Detector: add "isWithinPixelGrid" Helper

Simon Spannagel requested to merge uint_pixelgrid into master

This MR adds a new helper function isWithinPixelGrid to the Detector class. This allows to simplify checks for proper pixel coordinates in several modules.

In addition, the data type of the pixel grid size has been changed from XYVector<int> to XYVector<unsigned int> which better represents the reality.

Merge request reports