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