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 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
def buildList(pdList, matrix)