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