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