Takes a list of primary datasets (PDs) and the AlCaRecoMatrix (a dictinary) and returns a string with all the AlCaRecos for the selected PDs separated by the '+' character without duplicates.
Definition at line 105 of file autoAlca.py.
References cms::dd.split().
106 """Takes a list of primary datasets (PDs) and the AlCaRecoMatrix (a dictinary) and returns a string with all the AlCaRecos for the selected PDs separated by the '+' character without duplicates.""" 109 alCaRecoList.extend(matrix[pd].
split(
"+"))
111 alCaRecoList = set(alCaRecoList)
113 for alCaReco
in alCaRecoList:
115 stringList += alCaReco
117 stringList +=
'+'+alCaReco
std::vector< std::string_view > split(std::string_view, const char *)
def buildList(pdList, matrix)