Qualification and calibration tests of detector modules for the CMS Pixel Phase 1 upgrade. (23rd January 2018)