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