Photocathode and/or laser heater