For anyone whose interested I think it's this
The Hasler® Optical Pulse Generator
The design of the Hasler® Optical Pulse Generator has been made suitable to resist most extreme mechanical and thermal stress.
The technology is based on an optical system that operates in the infrared range. It is possible to have two different frequencies per revolution and up to six electrically isolated sensors.
The pulse generator delivers the signals for measuring and recording the distance as well as the speed, for wheel slip and slide sensing, for various control and safety functions, train safety system, etc.
Due to its accuracy and reliability, Hasler® Optical Pulse Generators are used for different signalling applications, e.g. ETCS.