2 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory
import CompFactory
7 KshortContainerName="",
8 LambdaContainerName="",
9 LambdabarContainerName="",
10 TrackParticleCollection="InDetTrackParticles",
14 from InDetConfig.InDetV0FinderConfig
import InDetV0FinderToolCfg
16 flags, name = derivation +
"_InDetV0FinderTool",
17 TrackParticleCollection = TrackParticleCollection,
18 V0ContainerName = V0ContainerName,
19 KshortContainerName = KshortContainerName,
20 LambdaContainerName = LambdaContainerName,
21 LambdabarContainerName = LambdabarContainerName,
22 RelinkTracks = RelinkTracks,
27 KshortContainerName="",
28 LambdaContainerName="",
29 LambdabarContainerName="",
33 if "V0Tools" not in kwargs:
34 from DerivationFrameworkBPhys.commonBPHYMethodsCfg
import BPHY_V0ToolCfg
35 kwargs.setdefault(
"V0Tools", acc.popToolsAndMerge(
38 from InDetConfig.InDetV0FinderConfig
import V0MainDecoratorCfg
40 flags, name = derivation +
"V0Decorator",
41 V0ContainerName = V0ContainerName,
42 KshortContainerName = KshortContainerName,
43 LambdaContainerName = LambdaContainerName,
44 LambdabarContainerName = LambdabarContainerName,
50 KshortContainerName="",
51 LambdaContainerName="",
52 LambdabarContainerName="",
53 CheckVertexContainers=[],
57 if "V0FinderTool" not in kwargs:
58 kwargs.setdefault(
"V0FinderTool", acc.popToolsAndMerge(
61 V0ContainerName = V0ContainerName,
62 KshortContainerName = KshortContainerName,
63 LambdaContainerName = LambdaContainerName,
64 LambdabarContainerName = LambdabarContainerName)))
66 if "Decorator" not in kwargs:
67 kwargs.setdefault(
"Decorator", acc.popToolsAndMerge(
70 V0ContainerName = V0ContainerName,
71 KshortContainerName = KshortContainerName,
72 LambdaContainerName = LambdaContainerName,
73 LambdabarContainerName = LambdabarContainerName)))
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,