Measuring gear for measuring the wheel speed and its production