54 **kwargs):
55 acc = ComponentAccumulator()
56
57 if "V0FinderTool" not in kwargs:
58 kwargs.setdefault("V0FinderTool", acc.popToolsAndMerge(
59 BPHY_InDetV0FinderToolCfg(
60 flags, derivation,
61 V0ContainerName = V0ContainerName,
62 KshortContainerName = KshortContainerName,
63 LambdaContainerName = LambdaContainerName,
64 LambdabarContainerName = LambdabarContainerName)))
65
66 if "Decorator" not in kwargs:
67 kwargs.setdefault("Decorator", acc.popToolsAndMerge(
68 BPHY_V0MainDecoratorCfg(
69 flags, derivation,
70 V0ContainerName = V0ContainerName,
71 KshortContainerName = KshortContainerName,
72 LambdaContainerName = LambdaContainerName,
73 LambdabarContainerName = LambdabarContainerName)))
74
75 acc.setPrivateTools(CompFactory.DerivationFramework.Reco_V0Finder(
76 name = derivation + "_Reco_V0Finder" + suffix,
77 V0ContainerName = V0ContainerName,
78 KshortContainerName = KshortContainerName,
79 LambdaContainerName = LambdaContainerName,
80 LambdabarContainerName = LambdabarContainerName,
81 CheckVertexContainers = CheckVertexContainers,
82 **kwargs))
83 return acc