Die automatische Verstärkungsanpassung im PIBETA CsI Kalorimeter