Skip to content
Snippets Groups Projects
Commit 97578b2f authored by Jiri Masik's avatar Jiri Masik Committed by Adam Edward Barton
Browse files

provide access to ActsAlignment from views

provide access to ActsAlignment from views
parent 7a5da201
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ def ActsAlignStoreProviderAlgCfg(flags, name="AlignStoreProviderAlg", **kwargs):
if kwargs["LoadDetectorVolumeSvc"] else "")
the_alg = CompFactory.ActsTrk.AlignStoreProviderAlg(name, **kwargs)
result.addEventAlgo(the_alg, primary = True)
result.addCondAlgo(the_alg, primary = True)
return result
def DetectorAlignCondAlgCfg(flags, name="DetectorAlignCondAlg", **kwargs):
......@@ -148,5 +148,5 @@ def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs):
kwargs.setdefault("AlignmentStores", AlignmentStores)
the_alg = CompFactory.ActsTrk.GeometryContextAlg(name, **kwargs)
result.addEventAlgo(the_alg, primary = True)
result.addCondAlgo(the_alg, primary = True)
return result
......@@ -132,6 +132,13 @@ def trigInDetVertexingCfg(flags, inputTracks, outputVtx):
acc = ComponentAccumulator()
acc.addEventAlgo( CompFactory.AthViews.ViewDataVerifier(
name = "VtxVDV_" + flags.Tracking.ActiveConfig.input_name,
DataObjects = {
( 'ActsGeometryContext' , 'StoreGateSvc+ActsAlignment' )
}
))
from InDetConfig.InDetPriVxFinderConfig import InDetTrigPriVxFinderCfg
acc.merge(InDetTrigPriVxFinderCfg(flags, inputTracks = inputTracks, outputVtx =outputVtx))
......
......@@ -7,8 +7,7 @@ from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from TrigInDetConfig.utils import getFlagsForActiveConfig
from TrigInDetConfig.TrigInDetConfig import trigInDetFastTrackingCfg, trigInDetPrecisionTrackingCfg
from InDetConfig.InDetPriVxFinderConfig import InDetTrigPriVxFinderCfg
from TrigInDetConfig.TrigInDetConfig import trigInDetFastTrackingCfg, trigInDetPrecisionTrackingCfg, trigInDetVertexingCfg
from InDetConfig.UsedInVertexFitTrackDecoratorConfig import getUsedInVertexFitTrackDecoratorAlg
from AthenaConfiguration.AccumulatorCache import AccumulatorCache
......@@ -107,12 +106,11 @@ def JetRoITrackingCfg(flags, jetsIn, trkopt, RoIs):
else:
vertexInputTracks = flagsWithTrk.Tracking.ActiveConfig.tracks_FTF
acc.merge(
InDetTrigPriVxFinderCfg(
flagsWithTrk,
inputTracks = vertexInputTracks,
outputVtx = flagsWithTrk.Tracking.ActiveConfig.vertex,
)
trigInDetVertexingCfg(flagsWithTrk,
inputTracks = vertexInputTracks,
outputVtx = flagsWithTrk.Tracking.ActiveConfig.vertex)
)
# make sure we output only the key,value related to tracks (otherwise, alg duplication issues)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment