def background_pdf_components(self): comps = ArgList('background_{0}'.format(self.cat.name)) for comp in self.components: if not 'Signal' in comp.name: comps.add(comp.pdf) return comps
def signal_pdf_components(self): comps = ArgList('signal_{0}'.format(self.cat.name)) for comp in self.components: if 'Signal' in comp.name: comps.add(comp.pdf) return comps