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 30 of file autoAlca.py.
References submitPVValidationJobs.split().
31 """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.""" 34 alCaRecoList.extend(matrix[pd].
split(
"+"))
36 alCaRecoList = set(alCaRecoList)
38 for alCaReco
in alCaRecoList:
40 stringList += alCaReco
42 stringList +=
'+'+alCaReco
def buildList(pdList, matrix)
def split(sequence, size)