add the trackflag and hitsflag to each track and hits