adding a trackcounter counter in a loop
config file was missing a gbltraj section

+[gbltraj]
+MaxRecordNumber                = 1000
+
+GearFile               = @GearGeoFile@
+#GearAlignedFile         = gear-@RunNumber@-aligned.xml
+GearAlignedFile         = @GearGeoFile@
+
+Planes                  = 20 0 1 2  3 4 5 21
+rm26                    = 0.18
+rfei4X                  = 2.500
+rfei4Y                  = 0.500
+xResolutionPlane        = %(rfei4X)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rfei4X)s
+yResolutionPlane        = %(rfei4Y)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rm26)s %(rfei4Y)s
+
+Chi2Cut                        = 10000
remove commented out code
remove wrongly introduced method // not needed neither any more
fix the EUTelGBLFitter::prepareLCIOTrack  method not returning anything to be expecting void, explicitly gnore TrackStates with negative Location id