Physics performance of the STAR zero degree calorimeter at relativistic heavy ion collider