def vars(self):
        """
        return all the variables in a PS
        """
        # cache _var_params
        if self._var_params is None:
            self._var_params = ParameterSet([var.get_parameter() for var in self._vars])
        return self._var_params
return all the variables in a PS