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

MuonConfig: drop remaining RPC conditions overrides

MuonConfig: drop remaining RPC conditions overrides

Hello,

This MR is a follow up of !70390 . With the new HLT global tag CONDBR2-HLTP-2024-01 now in use (https://twiki.cern.ch/twiki/bin/viewauth/AtlasComputing/ConditionsTagCondbr2hltp202401), we no longer need these RPC conditions overrides.
We may need a new reference due to the change in metadata.

Cheers,
Bertrand
parent f7940b9d
No related branches found
No related tags found
2 merge requests!714242024-05-16: merge of 24.0 into main,!71372MuonConfig: drop remaining RPC conditions overrides
......@@ -34,23 +34,7 @@ def RPCCablingConfigCfg(flags):
from IOVDbSvc.IOVDbSvcConfig import addFolders
acc.merge(addFolders(flags, [rpcCabMap,rpcCabMapCorr], dbName, className='CondAttrListCollection' ))
# This block with conditions override is only used in Trigger and Reco, and only needed until mid-May 2022.
# See ATR-25059 for discussion. To avoid this block being executed in simulation/digitization,
# skip this if ProductionStep is not Reconstruction or Default (i.e. unset)
from AthenaConfiguration.Enums import ProductionStep
if flags.Common.ProductionStep in [ProductionStep.Reconstruction, ProductionStep.Default] and \
flags.Trigger.doLVL1 and not flags.Input.isMC:
# Run3 trigger roads are not available in the HLT global tag yet (CONDBR2-HLTP-2023-01)
# Relevant folder tags are set for now, until new HLT global tag becomes available (ATLGBLCONDTAGS-76, ATR-23465)
if flags.Trigger.enableL1MuonPhase1:
rpcTrigEta="/RPC/TRIGGER/CM_THR_ETA <tag>RPCTriggerCMThrEta_HLT-23-01</tag>"
rpcTrigPhi="/RPC/TRIGGER/CM_THR_PHI <tag>RPCTriggerCMThrPhi_HLT-23-01</tag>"
acc.merge(addFolders(flags, [rpcTrigEta,rpcTrigPhi], dbName, className='CondAttrListCollection'))
else:
conddbNameOffline = flags.Trigger.L1MuonSim.CondDBOffline if flags.Trigger.L1MuonSim.CondDBOffline != '' else "OFLCOND-MC16-SDR-RUN2-04"
acc.merge(addFolders(flags, [rpcTrigEta,rpcTrigPhi], detDb='RPC_OFL', className='CondAttrListCollection', tag=conddbNameOffline, db='OFLP200' ))
else:
acc.merge(addFolders(flags, [rpcTrigEta,rpcTrigPhi], dbName, className='CondAttrListCollection' ))
acc.merge(addFolders(flags, [rpcTrigEta,rpcTrigPhi], dbName, className='CondAttrListCollection'))
RpcCablingCondAlg=CompFactory.RpcCablingCondAlg
RpcCablingAlg = RpcCablingCondAlg("RpcCablingCondAlg",DatabaseRepository=dbRepo)
......
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