617 def __init__ (self) :
618 super (EventCutFlowBlock, self).__init__ ()
619 self.addOption ('containerName', '', type=str,
620 noneAction='error',
621 info="the name of the input container, typically `EventInfo`.")
622 self.addOption ('selectionName', '', type=str,
623 noneAction='error',
624 info="the name of an optional selection decoration to use.")
625 self.addOption ('customSelections', [], type=None,
626 info="the selections for which to generate cutflow histograms. If "
627 "a single string, corresponding to a particular event selection, "
628 "the event cutflow for that selection will be looked up. If a list "
629 "of strings, will use explicitly those selections. If left blank, "
630 "all selections attached to the container will be looked up.")
631 self.addOption ('postfix', '', type=str,
632 info="a postfix to apply in the naming of cutflow histograms. Set "
633 "it when defining multiple cutflows.")
634