1198 def __init__ (self) :
1199 super (FJvtWorkingPointEventEfficiencyConfig, self).__init__ ()
1200 self.setBlockName('FJvtWorkingPointEventEfficiencyConfig')
1201 self.addDependency('FJvtWorkingPointEfficiencyConfig', required=True)
1202 self.addDependency('OverlapRemoval', required=False)
1203 self.addDependency('EventSelection', required=False)
1204 self.addDependency('EventSelectionMerger', required=False)
1205 self.addOption ('containerName', '', type=str,
1206 noneAction='error',
1207 info="the name of the input container.")
1208 self.addOption ('selectionName', '', type=str,
1209 noneAction='error',
1210 info="the name of the jet selection to define (e.g. `tight` or `loose`).")
1211 self.addOption ('fjvtWP', '', type=str,
1212 noneAction='error',
1213 info="the fJvt WP to use. Supported WPs: `Loose`, `Tight`, `Tighter`.")
1214 self.addOption ('useSuffix', True, type=bool,
1215 info="whether the working point name is to be used as suffix ."
1216 "Not to be disabled if multiple working points are scheduled.")
1217 self.addOption ('noEffSF', False, type=bool,
1218 info="disables the calculation of efficiencies and scale factors. "
1219 "Only useful to test a new WP for which scale factors are not available.",
1220 expertMode=True)
1221 self.addOption ('eventSF', True, type=bool,
1222 info="add calculation of event-level efficiency SF.")
1223