Maybe this filter wich eliminates spurious impulses can help in detector projects. Only signals equal 8 clock passes and you can regulate the clock since 200 to 1 khz. Of course, you can redesign the windows of the clock. From this page (read the text):
http://web.tiscali.it/i2viu/electronic/filtro.htm
Schematic and graphic:
http://web.tiscali.it/i2viu/electronic/filtro.htm
Schematic and graphic: