1059 def __init__ (self) :
1060 super (JvtWorkingPointEventEfficiencyConfig, self).__init__ ()
1061 self.setBlockName('JvtWorkingPointEventEfficiencyConfig')
1062 self.addDependency('JvtWorkingPointEfficiencyConfig', required=True)
1063 self.addDependency('OverlapRemoval', required=False)
1064 self.addDependency('EventSelection', required=False)
1065 self.addDependency('EventSelectionMerger', required=False)
1066 self.addOption ('containerName', '', type=str,
1067 noneAction='error',
1068 info="the name of the input container.")
1069 self.addOption ('selectionName', '', type=str,
1070 noneAction='error',
1071 info="the name of the jet selection to define (e.g. `tight` or `loose`).")
1072 self.addOption ('jvtWP', '', type=str,
1073 noneAction='error',
1074 info="the NNJvt WP to use. Supported WPs: `FixedEffPt`.")
1075 self.addOption ('useSuffix', True, type=bool,
1076 info="whether the working point name is to be used as suffix ."
1077 "Not to be disabled if multiple working points are scheduled.")
1078 self.addOption ('noEffSF', False, type=bool,
1079 info="disables the calculation of efficiencies and scale factors. "
1080 "Only useful to test a new WP for which scale factors are not available.",
1081 expertMode=True)
1082 self.addOption ('eventSF', True, type=bool,
1083 info="add calculation of event-level efficiency SF.")
1084