89 if not flags.Muon.usePhaseIIGeoSetup:
return result
90 from MuonCondAlgR4.ConditionsConfig
import ActsMuonAlignCondAlgCfg
92 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsAlignStoreProviderAlgCfg
94 from ROOT.ActsTrk
import DetectorType
96 if flags.Detector.GeometryMDT:
98 name=
"ActsDetAlignmentAlgMdt",
99 CondAlignStore=
"MdtActsAlignContainer" if flags.Muon.enableAlignment
else "",
100 EventAlignStore=
"MdtActsAlignContainer",
101 SplitPhysVolCache =
False,
102 SplitActsTrfCache =
False,
103 FillAlignCache =
False,
104 DetectorType=DetectorType.Mdt))
105 if flags.Detector.GeometryRPC:
107 name=
"ActsDetAlignmentAlgRpc",
108 CondAlignStore=
"RpcActsAlignContainer" if flags.Muon.enableAlignment
else "",
109 EventAlignStore=
"RpcActsAlignContainer",
110 SplitPhysVolCache =
False,
111 SplitActsTrfCache =
False,
112 FillAlignCache =
False,
113 DetectorType=DetectorType.Rpc))
114 if flags.Detector.GeometryTGC:
116 name=
"ActsDetAlignmentAlgTgc",
117 CondAlignStore=
"TgcActsAlignContainer" if flags.Muon.enableAlignment
else "",
118 EventAlignStore=
"TgcActsAlignContainer",
119 SplitPhysVolCache =
False,
120 SplitActsTrfCache =
False,
121 FillAlignCache =
False,
122 DetectorType=DetectorType.Tgc))
123 if flags.Detector.GeometrysTGC:
125 name=
"ActsDetAlignmentAlgSTGC",
126 CondAlignStore=
"sTgcActsAlignContainer" if flags.Muon.enableAlignment
else "",
127 EventAlignStore=
"sTgcActsAlignContainer",
128 SplitPhysVolCache =
False,
129 SplitActsTrfCache =
False,
130 FillAlignCache =
False,
131 DetectorType=DetectorType.sTgc))
133 if flags.Detector.GeometryMM:
135 name=
"ActsDetAlignmentAlgMM",
136 CondAlignStore=
"MmActsAlignContainer" if flags.Muon.enableAlignment
or \
137 flags.Muon.applyMMPassivation
else "",
138 EventAlignStore=
"MmActsAlignContainer",
139 SplitPhysVolCache =
False,
140 SplitActsTrfCache =
False,
141 FillAlignCache =
False,
142 DetectorType=DetectorType.Mm))