Gamma radiation following heavy ion reactions