137 tool = CompFactory.TrigBjetBtagHypoTool( name )
138 if MonTool
is not None:
139 tool.MonTool = MonTool
141 [btagger, bcut] , [bbtagger, bbcut] =
decodeThreshold( conf_dict[
'bTag'] )
142 tool.monitoredFloats = {f
'{btagger}_p{x}':f
'btag_p{x}' for x
in 'cub'}
144 if conf_dict[
'bTag'] ==
"offperf":
147 tool.vetoBadBeamspot =
False
150 btagTool = CompFactory.BJetThreeValueCheck(
157 if MonTool
is not None:
158 btagTool.MonTool = MonTool
159 tool.checks.append(btagTool)
161 if bbcut
is not None:
162 bbTool = CompFactory.BJetTwoValueCheck(
164 numerator=f
'{bbtagger}_pb',
165 denominator=f
'{bbtagger}_pbb',
167 if MonTool
is not None:
168 bbTool.MonTool = MonTool
169 tool.checks.append(bbTool)
170 tool.monitoredFloats.update({
171 f
'{bbtagger}_p{x}':f
'bbtag_p{x}' for x
in [
'b',
'bb']})