973 def makeAlgs (self, config) :
974
975 suffix = self.suffix()
976 decorationName = f"{self._prefix}_selection{suffix},as_char"
977 selectionName = self.selectionName
978
979 alg = config.createAlgorithm('CP::AsgSelectionAlg', f'{self._algPrefix}SelectionAlg_{self.workingPoint()}')
980 config.addPrivateTool('selectionTool', self._selectionTool)
981 alg.selectionTool.JetContainer = config.readName(self.containerName)
982 alg.selectionTool.JvtMomentName = self._momentName
983 alg.selectionTool.WorkingPoint = self.workingPoint()
984 if self._maxPtForJvt is not None:
985 alg.selectionTool.MaxPtForJvt = self._maxPtForJvt
986 alg.selectionDecoration = decorationName
987 alg.particles = config.readName(self.containerName)
988
989 config.addSelection (self.containerName, selectionName, decorationName, preselection=False)
990
991