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