def METHOD_NAME(self):
    """
    if no argument or "" is passed a string with an instantiation is returned,
    else the validation is appended to the list
    """
    repMap = self.getRepMap()
    parameters = " ".join(os.path.join("root://eoscms//eos/cms", file.lstrip("/")) for file in repMap["resultFiles"])
    mergedoutputfile = os.path.join("root://eoscms//eos/cms", repMap["finalResultFile"].lstrip("/"))
    return "hadd -f %s %s\n" % (mergedoutputfile, parameters)