This section describes in more details the processing steps taken to determine the calibrations and to produce the photometric data included in Gaia DR2.