Properties of electromagnetic and hadronic showers measured with liquid argon calorimeters