707 def __init__(self):
708 super(EventCutFlowBlock, self).__init__()
709 self.addOption('selectionName', '', type=str,
710 noneAction='error',
711 info="the name of the event selection to generate cutflow histograms for. "
712 "If left blank, all selections on EventInfo will be used.",
713 meta={'role':'region'})
714 self.addOption('customSelections', [], type=None,
715 info="explicit list of selection decorations to use for the cutflow. "
716 "If provided, takes precedence over selectionName.")
717 self.addOption('cutFlowHistograms', True, type=bool,
718 info="whether to generate cutflow histograms for the selection cuts.")
719 self.addOption('cutFlowHistogramsWithSystematics', True, type=bool,
720 info="whether to generate cutflow histograms for the selection cuts"
721 "when running with systematics.")
722 self.addOption ('streamName', None, type=str,
723 info="name of the output stream to save the cut bookkeeper in.")
724