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 23 of file autoAlca.py.
References split.
25 """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."""
28 alCaRecoList.extend(matrix[pd].
split(
"+"))
30 alCaRecoList = set(alCaRecoList)
32 for alCaReco
in alCaRecoList:
34 stringList += alCaReco
36 stringList +=
'+'+alCaReco