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 31 of file autoAlca.py.
References split.
33 """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."""
36 alCaRecoList.extend(matrix[pd].
split(
"+"))
38 alCaRecoList = set(alCaRecoList)
40 for alCaReco
in alCaRecoList:
42 stringList += alCaReco
44 stringList +=
'+'+alCaReco