Residual gas analysis in the TOF vacuum system