Measurement technology for the CMS experiment