772 def __init__(self):
773 super().__init__()
774 self.addOption('selectionName', '', type=str,
775 noneAction='error',
776 info="the name of the event selection to generate cutflow histograms for. "
777 "If left blank, all selections on EventInfo will be used.",
778 meta={'role':'region'})
779 self.addOption('customSelections', [], type=None,
780 info="explicit list of selection decorations to use for the cutflow. "
781 "If provided, takes precedence over selectionName.")
782 self.addOption('cutFlowHistograms', True, type=bool,
783 info="whether to generate cutflow histograms for the selection cuts.")
784 self.addOption('cutFlowHistogramsWithSystematics', True, type=bool,
785 info="whether to generate cutflow histograms for the selection cuts "
786 "when running with systematics.")
787 self.addOption ('streamName', None, type=str,
788 info="name of the output stream to save the cut bookkeeper in.")
789