Skip to content
Snippets Groups Projects
Commit a0878313 authored by Masato Aoki's avatar Masato Aoki Committed by Edward Moyse
Browse files

Make consistent RPC cabling config between new and old-style files

parent 62b298d9
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!41733Make consistent RPC cabling config between new and old-style files
......@@ -48,7 +48,14 @@ if DetFlags.readRDOBS.RPC_on() or DetFlags.readRDOPool.RPC_on() or DetFlags.read
# without the following line, the MuonRPC_CablingSvc is not part of the ServiceMgr, thus add flake8 ignore flag
import MuonRPC_Cabling.MuonRPC_CablingConfig # noqa: F401
ServiceMgr.MuonRPC_CablingSvc.RPCTriggerRoadsfromCool=True
from AthenaConfiguration.AllConfigFlags import ConfigFlags
enableL1Phase1 = ConfigFlags.Trigger.enableL1Phase1 if ConfigFlags.Trigger.enableL1Phase1 is not None else False
if enableL1Phase1:
ServiceMgr.MuonRPC_CablingSvc.RPCTriggerRoadsfromCool = False
from PathResolver import PathResolver
ServiceMgr.MuonRPC_CablingSvc.DatabaseRepository=PathResolver.FindCalibDirectory("MuonRPC_Cabling/RUN3_roads_4_6_8_10_12")
else:
ServiceMgr.MuonRPC_CablingSvc.RPCTriggerRoadsfromCool = True
from IOVDbSvc.CondDB import conddb
#
# Cabling maps folders from DB
......
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