Skip to content
Snippets Groups Projects
Commit d6aac587 authored by Bertrand Martin Dit Latour's avatar Bertrand Martin Dit Latour Committed by Duc Ta
Browse files

MuonConfig: drop MM cabling override

MuonConfig: drop MM cabling override

Hello,

Continuation of !71372 . It should no longer be necessary to specify the tag of the `"/MDT/MM/CABLING"` or `"/MDT/Onl/MM/CABLING"` conditions folder. It is natively associated with the global conditions tag now:
* `CONDBR2-HLTP-2024-01` points to `MmOnlCabling-FrontEndShifts-v1`
* `CONDBR2-BLKPA-2024-03`, `CONDBR2-ES1PA-2024-03`, `CONDBR2-BLKPA-2023-04`, `CONDBR2-BLKPA-2022-13` all point to `"MmCabling-FrontEndShifts-v1"`

No output change is expected.

Cheers,
Bertrand
parent 228e3b70
No related branches found
No related tags found
No related merge requests found
......@@ -137,10 +137,9 @@ def NswCablingCfg(flags, name = "MuonNSW_CablingAlg", **kwargs):
return result
from IOVDbSvc.IOVDbSvcConfig import addFolders
cablingFolder = ["/MDT/MM/CABLING" if not flags.Common.isOnline else "/MDT/Onl/MM/CABLING"]
cablingTag = "MmCabling-FrontEndShifts-v1" if not flags.Common.isOnline else "MmOnlCabling-FrontEndShifts-v1"
cablingFolder = ["/MDT/MM/CABLING" if not flags.Common.isOnline else "/MDT/Onl/MM/CABLING"]
kwargs.setdefault("CablingFolder",cablingFolder)
result.merge(addFolders(flags,kwargs["CablingFolder"], detDb=("MDT_OFL" if not flags.Common.isOnline else "MDT_ONL"), className="CondAttrListCollection", tag=cablingTag))
result.merge(addFolders(flags, kwargs["CablingFolder"], detDb=("MDT_OFL" if not flags.Common.isOnline else "MDT_ONL"), className="CondAttrListCollection"))
the_alg = CompFactory.MuonNSW_CablingAlg(name, **kwargs)
result.addCondAlgo(the_alg, primary = True)
......
......@@ -23,7 +23,7 @@ references_map = {
"d1912": "v4",
# Reco
"q442": "v3",
"q449": "v7",
"q449": "v9",
"q452": "v4",
"q454": "v13",
# Derivations
......
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