Impact of temperature and doping concentration on avalanche photodiode characteristics