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 63 of file autoAlca.py.
References split.
64 """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.""" 67 alCaRecoList.extend(matrix[pd].
split(
"+"))
69 alCaRecoList = set(alCaRecoList)
71 for alCaReco
in alCaRecoList:
73 stringList += alCaReco
75 stringList +=
'+'+alCaReco
def buildList(pdList, matrix)