Skip to content

WIP: Rework of local coordinate system

Koen Wolters requested to merge kwolters/allpix-squared:coordinate-rework into master

This is supposed to contain the implementation of the coordinate, discussed in !88 (merged). Proposal is as follows:

@nurnberg and me have realized that we have a problem with local coordinates systems. Currently, the local frame is defined on the implant side of the sensor, starting with pixel (0, 0) on the lower left corner. However, with a hybrid detector this would mean, that on the readout chip (flipped along rows) the pixel in the lower left corner (which is 0,0 in the real world) turns up as (0, npixelsX) instead.

This should be changed such that the coordinate system is defined by the readout chip. This could make sense when thinking a bit more careful about monolithic sensors. Currently, they are facing "away" from the beam, i.e. the backside of the sensor is facing upstream (as is correct with hybrid detectors) and the implants face downstream. This should be reversed, since the chip is glued to the carrier PCB always with the non-processed side (we have wire bond pads on the implant side!)


Edited by Koen Wolters

Merge request reports