682 def __init__ (self) :
683 super (OutputThinningBlock, self).__init__ ()
684 self.setBlockName('Thinning')
685 self.addOption ('containerName', '', type=str,
686 noneAction='error',
687 info="the name of the input container.")
688 self.addOption ('postfix', '', type=str,
689 info="a postfix to apply to decorations and algorithm names. "
690 "Typically not needed here.")
691 self.addOption ('selection', '', type=str,
692 info="the name of an optional selection decoration to use.")
693 self.addOption ('selectionName', '', type=str,
694 info="the name of the selection to append this to. If left empty, "
695 "the cuts are applied to every "
696 "object within the container. Specifying a name (e.g. `loose`) "
697 "applies the cut only to those object who also pass that selection.")
698 self.addOption ('outputName', None, type=str,
699 info="an optional name for the output container.")
700 self.addOption ('deepCopy', False, type=bool,
701 info="run a deep copy of the container.")
702 self.addOption ('sortPt', False, type=bool,
703 info=r"whether to sort objects in $p_\mathrm{T}$.")
704 self.addOption ('noUniformSelection', False, type=bool,
705 info="do not run the union over all selections.")
706 self.addOption ('containerType', None, type=str,
707 info="the type of the container to thin. Only needed in AthenaMT, and only if subsequent code has a data dependency on the created container under that type.")
708