def npBestFit( fitResult, filter=None ):
	"""
	Returns a vector of best fit results for the parameters that match the filter and the
	corresponding list of parameter names.
	"""
	pars = fitResult.floatParsFinal()
	l = [ (pars.at(i).getVal(),pars.at(i).GetName()) for i in range( pars.getSize() ) if not filter or filter in pars.at(i).GetName() ]
	return ([v[0] for v in l], [v[1] for v in l])