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 19 of file autoAlca.py.
References runtimedef.set(), and split.
21 """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."""
24 alCaRecoList.extend(matrix[pd].
split(
"+"))
26 alCaRecoList =
set(alCaRecoList)
28 for alCaReco
in alCaRecoList:
30 stringList += alCaReco
32 stringList +=
'+'+alCaReco
void set(const std::string &name, int value)
set the flag, with a run-time name