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 22 of file autoAlca.py.
References split.
24 """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."""
27 alCaRecoList.extend(matrix[pd].
split(
"+"))
29 alCaRecoList = set(alCaRecoList)
31 for alCaReco
in alCaRecoList:
33 stringList += alCaReco
35 stringList +=
'+'+alCaReco