2 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory
import CompFactory
7 KshortContainerName="",
8 LambdaContainerName="",
9 LambdabarContainerName="",
10 TrackParticleCollection="InDetTrackParticles",
13 from InDetConfig.InDetV0FinderConfig
import InDetV0FinderToolCfg
15 flags, name = derivation +
"_InDetV0FinderTool",
16 TrackParticleCollection = TrackParticleCollection,
17 V0ContainerName = V0ContainerName,
18 KshortContainerName = KshortContainerName,
19 LambdaContainerName = LambdaContainerName,
20 LambdabarContainerName = LambdabarContainerName,
21 RelinkTracks = RelinkTracks)
25 KshortContainerName="",
26 LambdaContainerName="",
27 LambdabarContainerName="",
31 if "V0Tools" not in kwargs:
32 from DerivationFrameworkBPhys.commonBPHYMethodsCfg
import BPHY_V0ToolCfg
33 kwargs.setdefault(
"V0Tools", acc.popToolsAndMerge(
36 from InDetConfig.InDetV0FinderConfig
import V0MainDecoratorCfg
38 flags, name = derivation +
"V0Decorator",
39 V0ContainerName = V0ContainerName,
40 KshortContainerName = KshortContainerName,
41 LambdaContainerName = LambdaContainerName,
42 LambdabarContainerName = LambdabarContainerName,
48 KshortContainerName="",
49 LambdaContainerName="",
50 LambdabarContainerName="",
51 CheckVertexContainers=[],
55 if "V0FinderTool" not in kwargs:
56 kwargs.setdefault(
"V0FinderTool", acc.popToolsAndMerge(
59 V0ContainerName = V0ContainerName,
60 KshortContainerName = KshortContainerName,
61 LambdaContainerName = LambdaContainerName,
62 LambdabarContainerName = LambdabarContainerName)))
64 if "Decorator" not in kwargs:
65 kwargs.setdefault(
"Decorator", acc.popToolsAndMerge(
68 V0ContainerName = V0ContainerName,
69 KshortContainerName = KshortContainerName,
70 LambdaContainerName = LambdaContainerName,
71 LambdabarContainerName = LambdabarContainerName)))
73 acc.setPrivateTools(CompFactory.DerivationFramework.Reco_V0Finder(
74 name = derivation +
"_Reco_V0Finder" + suffix,
75 V0ContainerName = V0ContainerName,
76 KshortContainerName = KshortContainerName,
77 LambdaContainerName = LambdaContainerName,
78 LambdabarContainerName = LambdabarContainerName,
79 CheckVertexContainers = CheckVertexContainers,