photogates