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