706 def __init__ (self) :
707 super (OutputThinningBlock, self).__init__ ()
708 self.setBlockName('Thinning')
709 self.addOption ('containerName', '', type=str,
710 noneAction='error',
711 info="the name of the input container.")
712 self.addOption ('postfix', '', type=str,
713 info="a postfix to apply to decorations and algorithm names. "
714 "Typically not needed here.")
715 self.addOption ('selection', '', type=str,
716 info="the name of an optional selection decoration to use.")
717 self.addOption ('selectionName', '', type=str,
718 info="the name of the selection to append this to. If left empty, "
719 "the cuts are applied to every "
720 "object within the container. Specifying a name (e.g. `loose`) "
721 "applies the cut only to those object who also pass that selection.")
722 self.addOption ('outputName', None, type=str,
723 info="an optional name for the output container.")
724 self.addOption ('deepCopy', False, type=bool,
725 info="run a deep copy of the container.")
726 self.addOption ('sortPt', False, type=bool,
727 info=r"whether to sort objects in $p_\mathrm{T}$.")
728 self.addOption ('noUniformSelection', False, type=bool,
729 info="do not run the union over all selections.")
730 self.addOption ('containerType', None, type=str,
731 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.")
732