def METHOD_NAME(self, det_name):
    if det_name in self.info:
        return self.info[det_name][1]
    else:
        warnings.warn("No treering information available for %s.  Setting treering_func to None." % det_name)
        return None