671 def __init__(self):
672 super(EventCutFlowBlock, self).__init__()
673 self.addOption('selectionName', '', type=str,
674 noneAction='error',
675 info="the name of the event selection to generate cutflow histograms for. "
676 "If left blank, all selections on EventInfo will be used.")
677 self.addOption('customSelections', [], type=None,
678 info="explicit list of selection decorations to use for the cutflow. "
679 "If provided, takes precedence over selectionName.")
680 self.addOption('cutFlowHistograms', True, type=bool,
681 info="whether to generate cutflow histograms for the selection cuts.")
682 self.addOption('cutFlowHistogramsWithSystematics', True, type=bool,
683 info="whether to generate cutflow histograms for the selection cuts"
684 "when running with systematics.")
685 self.addOption ('streamName', None, type=str,
686 info="name of the output stream to save the cut bookkeeper in.")
687