Sets up a JetFitterMultiStageFit tool and returns it.
The following options have defaults:
MaxNumDeleteIterations default: 30
VertexProbCut default: 0.001
MaxClusteringIterations default: 30
UseFastClustering default: False
maxTracksForDetailedClustering default: 25
VertexClusteringProbabilityCutWithMasses default: {0.002, 0.002, 0.050, 0.100, 0.200, 0.500, 0.700, 0.900, 0.900}
input: name: The name of the tool (should be unique).
useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
**options: Python dictionary with options for the tool.
output: The actual tool, which can then by added to ToolSvc via ToolSvc += output.
Definition at line 10 of file JetFitterMultiStageFitConfig.py.
11 """Sets up a JetFitterMultiStageFit tool and returns it.
13 The following options have defaults:
15 MaxNumDeleteIterations default: 30
16 VertexProbCut default: 0.001
17 MaxClusteringIterations default: 30
18 UseFastClustering default: False
19 maxTracksForDetailedClustering default: 25
20 VertexClusteringProbabilityCutWithMasses default: {0.002, 0.002, 0.050, 0.100, 0.200, 0.500, 0.700, 0.900, 0.900}
22 input: name: The name of the tool (should be unique).
23 useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
24 **options: Python dictionary with options for the tool.
25 output: The actual tool, which can then by added to ToolSvc via ToolSvc += output."""
28 if useBTagFlagsDefaults:
32 defaults = {
'JetFitterInitializationHelper' : improvedJetFitterInitializationHelper,
33 'JetFitterRoutines' : improvedJetFitterRoutines,
34 'InDetJetFitterUtils' : inDetJetFitterUtils }
35 for option
in defaults:
36 options.setdefault(option, defaults[option])
38 options[
'name'] = name
39 acc.setPrivateTools( CompFactory.InDet.JetFitterMultiStageFit(**options) )