3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
10 kwargs.setdefault(
"AMVFVerticesDeco",
"TTVA_AMVFVertices_forReco")
11 kwargs.setdefault(
"AMVFWeightsDeco",
"TTVA_AMVFWeights_forReco")
13 return CompFactory.CP.TrackVertexAssociationTool(name, **kwargs)
15 def TTVAToolCfg(flags, name, addDecoAlg=True, VertexContName="PrimaryVertices", **kwargs):
16 """Create a component accumulator containing a TTVA tool
18 If addDecoAlg is True, also adds an algorithm for decorating the 'used-in-fit' information
23 kwargs.setdefault(
"TrackContName",
"InDetTrackParticles")
28 from InDetUsedInFitTrackDecoratorTool.UsedInVertexFitTrackDecoratorConfig
import (
29 UsedInVertexFitTrackDecoratorCfg)
31 flags, kwargs[
"TrackContName"], VertexContName))
37 kwargs.setdefault(
"WorkingPoint",
"Nonprompt_All_MaxWeight")
38 kwargs.setdefault(
"HardScatterLinkDeco",
"")
43 kwargs.setdefault(
"WorkingPoint",
"Nonprompt_Hard_MaxWeight")
44 kwargs.setdefault(
"HardScatterLinkDeco",
"")
45 kwargs.setdefault(
"TrackContName", flags.Tau.ActiveConfig.TrackCollection)
46 kwargs.setdefault(
"VertexContName", flags.Tau.ActiveConfig.VertexCollection)
47 return TTVAToolCfg(flags, flags.Tau.ActiveConfig.prefix + name, **kwargs)
51 kwargs.setdefault(
"WorkingPoint",
"Custom")
52 kwargs.setdefault(
"HardScatterLinkDeco",
"")
53 kwargs.setdefault(
"d0_cut", 2.0)
54 kwargs.setdefault(
"dzSinTheta_cut", 2.0)