Performance of calorimeters at the LHC