3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 acc.setPrivateTools(CompFactory.InDetSecVtxTruthMatchTool(**kwargs))
16 from DerivationFrameworkInDet.InDetToolsConfig
import InDetLRTMergeCfg
18 kwargs.setdefault(
"TrackParticleContainer",
"InDetWithLRTTrackParticles")
20 kwargs.setdefault(
"TruthVertexContainer",
"TruthVertices")
21 kwargs.setdefault(
"SecondaryVertexContainer",
"VrtSecInclusive_SecondaryVertices")
22 kwargs.setdefault(
"TargetPDGIDs", [511,521])
25 truthMatchAlg = CompFactory.CP.SecVertexTruthMatchAlg(name, **kwargs)
27 acc.addEventAlgo(truthMatchAlg)
28 acc.addService(CompFactory.THistSvc(Output = [f
"ANALYSIS DATAFILE='{flags.Output.HISTFileName}' OPT='RECREATE'"]))
29 acc.setAppProperty(
"HistogramPersistency",
"ROOT")