Results of the first performance tests of the CMS electromagnetic calorimeter