632 def __init__ (self) :
633 super (EventCutFlowBlock, self).__init__ ()
634 self.addOption ('containerName', '', type=str,
635 noneAction='error',
636 info="the name of the input container, typically `EventInfo`.")
637 self.addOption ('selectionName', '', type=str,
638 noneAction='error',
639 info="the name of an optional selection decoration to use.")
640 self.addOption ('customSelections', [], type=None,
641 info="the selections for which to generate cutflow histograms. If "
642 "a single string, corresponding to a particular event selection, "
643 "the event cutflow for that selection will be looked up. If a list "
644 "of strings, will use explicitly those selections. If left blank, "
645 "all selections attached to the container will be looked up.")
646 self.addOption ('postfix', '', type=str,
647 info="a postfix to apply in the naming of cutflow histograms. Set "
648 "it when defining multiple cutflows.")
649