4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
9 from TrkConfig.TrkVertexFitterUtilsConfig
import TrackToVertexIPEstimatorCfg
11 acc.setPrivateTools( CompFactory.Analysis.PrimaryVertexRefitter( **kwargs) )
18 kwargs.setdefault(
"useV0Fitter",
False)
19 kwargs.setdefault(
"V0VertexFitterTool",
None)
20 if "TrkVertexFitterTool" not in kwargs:
21 from TrkConfig.TrkVKalVrtFitterConfig
import BPHY_TrkVKalVrtFitterCfg
23 if "TrackSelectorTool" not in kwargs:
24 from InDetConfig.InDetTrackSelectorToolConfig
import BPHY_InDetDetailedTrackSelectorToolCfg
26 if "VertexPointEstimator" not in kwargs:
27 from InDetConfig.InDetConversionFinderToolsConfig
import BPHY_VertexPointEstimatorCfg
29 if "PartPropSvc" not in kwargs:
30 from AthenaServices.PartPropSvcConfig
import PartPropSvcCfg
31 kwargs.setdefault(
"PartPropSvc", acc.getPrimaryAndMerge(
PartPropSvcCfg(flags)).name)
32 acc.setPrivateTools(CompFactory.Analysis.JpsiFinder(name, **kwargs))
38 if "JpsiFinderName" not in kwargs:
39 kwargs.setdefault(
"JpsiFinderName", acc.popToolsAndMerge(
JpsiFinderCfg(flags)))
40 acc.addEventAlgo(CompFactory.JpsiAlg(name, **kwargs))