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