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