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