Statistical model calculations in heavy ion reactions