A tool to test the residual calculation in TrackFitterBase with toy data. This programme creates a straight line and a helix and hits on the tracks. It passes the tracks to TrackFitterBase to calculate the residuals and prints them. Up to a track length of 100 the residuals should be 0, -2.5 for track length between 100 and 135 and +2.5 above 135. To test all possible situations change the track parameters in the source code and rerun.