code: def vars(self):
          
          # 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
docs: return all the variables in a PS