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