The circles shown in blue and red are charge distributions in long cylinders. The detector
determines the electric flux going out (+) or into (-) the black circle. The flux is proportional
to the net charge inside the detector according to Gauss's law.