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 34 of file autoAlca.py.
References split.
36 """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."""
39 alCaRecoList.extend(matrix[pd].
split(
"+"))
41 alCaRecoList = set(alCaRecoList)
43 for alCaReco
in alCaRecoList:
45 stringList += alCaReco
47 stringList +=
'+'+alCaReco