What happen after optical photon is absorbed?

Hello! I am tracking optical photons and I have a question about their interactions. When optical photons are absorbed in a material, I don’t see them being re-emitted (the track stops after the absorption). What happens to this absorbed optical photon? Do we assume that the energy is always converted to heat?

Hi, when an optical photon is absorbed the track is killed and the energy is deposited locally. Physically, this will become heat. You can get the energy from G4Step::GetTotalEnergyDeposit().