Commit 4cf5129e authored by Walter Lampl's avatar Walter Lampl
Browse files

SCT_GeoModelConfig: Use new flag Muon.enableAlignment

parent 39aeadfa
......@@ -44,7 +44,7 @@ def SCT_DetectorElementCondAlgCfg(flags, name = "SCT_DetectorElementCondAlg", **
PixelAlignStoreKey = ""
# To avoid setting up conditions algorithms in the right order, only set up for athena MT
if flags.Concurrency.NumThreads > 0:
if flags.Detector.GeometryMuon:
if flags.Muon.enableAlignment:
MuonMgrKey = "MuonDetectorManager"
if flags.Detector.GeometryTRT:
TRT_DetEltKey = "TRT_DetElementContainer"
......@@ -54,9 +54,8 @@ def SCT_DetectorElementCondAlgCfg(flags, name = "SCT_DetectorElementCondAlg", **
kwargs.setdefault("TRT_DetEltContKey", TRT_DetEltKey)
kwargs.setdefault("PixelAlignmentStore", PixelAlignStoreKey)
SCT_DetectorElementCondAlg=CompFactory.SCT_DetectorElementCondAlg
sctDetectorElementCondAlg = SCT_DetectorElementCondAlg(name, **kwargs)
acc = ComponentAccumulator()
acc.addCondAlgo(sctDetectorElementCondAlg)
return acc
\ No newline at end of file
return acc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment