Study of the response of the ATLAS central calorimeter to pions of energies