Electromagnetic calorimeter commissioning and first results with 7 TeV data