Ported emitPhoton function for the PhotonAbsorptionModel