834 def __init__ (self) :
835 super().__init__ ()
836 self.setBlockName('Thinning')
837 self.addOption ('containerName', '', type=str,
838 noneAction='error',
839 info="the name of the input container.",
840 meta={'role':'containerRef'})
841 self.addOption ('postfix', '', type=str,
842 info="a postfix to apply to decorations and algorithm names. "
843 "Typically not needed here.")
844 self.addOption ('selection', '', type=str,
845 info="the name of an optional selection decoration to use.",
846 meta={'role':'selection'})
847 self.addOption ('selectionName', '', type=str,
848 info="the name of the selection to append this to. If left empty, "
849 "the cuts are applied to every "
850 "object within the container. Specifying a name (e.g. `loose`) "
851 "applies the cut only to those object who also pass that selection.",
852 meta={'role':'selection'})
853 self.addOption ('outputName', None, type=str,
854 info="an optional name for the output container.",
855 meta={'role':'container'})
856 self.addOption ('deepCopy', False, type=bool,
857 info="run a deep copy of the container.")
858 self.addOption ('sortPt', False, type=bool,
859 info=r"whether to sort objects in $p_\mathrm{T}$.")
860 self.addOption ('noUniformSelection', False, type=bool,
861 info="do not run the union over all selections.")
862 self.addOption ('containerType', None, type=str,
863 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.")
864