The disclosure is directed at a method and apparatus for producing a detector element. The detector element includes first and second electrodes located on opposites sides of a semiconductor layer. The first and second electrodes are staggered with respect to each other in a plane perpendicular to the semiconductor layer.