ATLAS Offline Software
Loading...
Searching...
No Matches
UsedInVertexFitTrackDecoratorConfig Namespace Reference

Functions

 idForTrackVtxContainers (trackCont, vtxCont, vtxdeco, wdeco)
 getUsedInVertexFitTrackDecoratorAlg (trackCont="InDetTrackParticles", vtxCont="PrimaryVertices", vertexDeco="TTVA_AMVFVertices_forReco", weightDeco="TTVA_AMVFWeights_forReco")
 UsedInVertexFitTrackDecoratorCfg (flags, trackCont='InDetTrackParticles', vtxCont='PrimaryVertices', vertexDeco="TTVA_AMVFVertices_forReco", weightDeco="TTVA_AMVFWeights_forReco")

Variables

 _trkvtxPairCounter = defaultdict()
 default_factory

Function Documentation

◆ getUsedInVertexFitTrackDecoratorAlg()

getUsedInVertexFitTrackDecoratorAlg ( trackCont = "InDetTrackParticles",
vtxCont = "PrimaryVertices",
vertexDeco = "TTVA_AMVFVertices_forReco",
weightDeco = "TTVA_AMVFWeights_forReco" )
Create the alg  to decorate the used-in-fit information for AMVF 

Definition at line 16 of file UsedInVertexFitTrackDecoratorConfig.py.

18 vertexDeco = "TTVA_AMVFVertices_forReco", weightDeco = "TTVA_AMVFWeights_forReco"):
19 """ Create the alg to decorate the used-in-fit information for AMVF """
20
21 alg = CompFactory.InDet.InDetUsedInVertexFitTrackDecorator(
22 name=idForTrackVtxContainers(trackCont,vtxCont, vertexDeco, weightDeco)+"Alg",
23 UsedInFitDecoratorTool=CompFactory.InDet.InDetUsedInFitTrackDecoratorTool(
24 AMVFVerticesDecoName=vertexDeco,
25 AMVFWeightsDecoName=weightDeco,
26 TrackContainer=trackCont,
27 VertexContainer=vtxCont)
28 )
29
30 return alg
31

◆ idForTrackVtxContainers()

idForTrackVtxContainers ( trackCont,
vtxCont,
vtxdeco,
wdeco )

Definition at line 12 of file UsedInVertexFitTrackDecoratorConfig.py.

12def idForTrackVtxContainers(trackCont, vtxCont, vtxdeco, wdeco):
13 return "InDetUsedInFitDecorator_"+_trkvtxPairCounter[ (trackCont, vtxCont, vtxdeco, wdeco) ]
14
15

◆ UsedInVertexFitTrackDecoratorCfg()

UsedInVertexFitTrackDecoratorCfg ( flags,
trackCont = 'InDetTrackParticles',
vtxCont = 'PrimaryVertices',
vertexDeco = "TTVA_AMVFVertices_forReco",
weightDeco = "TTVA_AMVFWeights_forReco" )
Create the ComponentAccumulator  to decorate the used-in-fit information for AMVF 

Definition at line 32 of file UsedInVertexFitTrackDecoratorConfig.py.

34 vertexDeco = "TTVA_AMVFVertices_forReco", weightDeco = "TTVA_AMVFWeights_forReco"):
35 """ Create the ComponentAccumulator to decorate the used-in-fit information for AMVF """
36 acc = ComponentAccumulator()
37 acc.addEventAlgo( getUsedInVertexFitTrackDecoratorAlg( trackCont, vtxCont,
38 vertexDeco, weightDeco ) )
39 return acc

Variable Documentation

◆ _trkvtxPairCounter

UsedInVertexFitTrackDecoratorConfig._trkvtxPairCounter = defaultdict()
protected

Definition at line 9 of file UsedInVertexFitTrackDecoratorConfig.py.

◆ default_factory

UsedInVertexFitTrackDecoratorConfig.default_factory

Definition at line 10 of file UsedInVertexFitTrackDecoratorConfig.py.