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 57 of file autoAlca.py.
References split.
59 """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."""
62 alCaRecoList.extend(matrix[pd].
split(
"+"))
64 alCaRecoList = set(alCaRecoList)
66 for alCaReco
in alCaRecoList:
68 stringList += alCaReco
70 stringList +=
'+'+alCaReco