1005 def __init__ (self) :
1006 super (JvtWorkingPointEfficiencyConfig, self).__init__ ()
1007 self.setBlockName('JvtWorkingPointEfficiencyConfig')
1008 self.addDependency('EventSelection', required=False)
1009 self.addDependency('EventSelectionMerger', required=False)
1010 self.addOption ('containerName', '', type=str,
1011 noneAction='error',
1012 info="the name of the input container.")
1013 self.addOption ('selectionName', '', type=str,
1014 noneAction='error',
1015 info="the name of the jet selection to define (e.g. `tight` or `loose`).")
1016 self.addOption ('jvtWP', '', type=str,
1017 noneAction='error',
1018 info="the NNJvt WP to use. Supported WPs: `FixedEffPt`.")
1019 self.addOption ('useSuffix', True, type=bool,
1020 info="whether the working point name is to be used as suffix ."
1021 "Not to be disabled if multiple working points are scheduled.")
1022 self.addOption ('noEffSF', False, type=bool,
1023 info="disables the calculation of efficiencies and scale factors. "
1024 "Only useful to test a new WP for which scale factors are not available.",
1025 expertMode=True)
1026