Allow definition of Pixel Implants
This is a proposed solution for #65 (closed) which allows to define the size of sensor implants for detectors.
This can be useful when e.g. calculating the weighting field of a pixel analytically (plane condenser equivalent) or when using TCAD fields where charges should only be picked up from this very spot.
The current implementation allows specifying the implant size in x and y and provides access to it via the detector model. Furthermore, the detector implements a function IsWithinImplant()
which checks a sensor-local position for being within the (2D) implant region.
The SimpleTransferModule has an option collect_from_implant
which enables an additional check for the implant region for each propagated charge carrier.
Please review carefully.