diff --git a/Trigger/TrigAlgorithms/TrigT2CaloCommon/share/CaloCellMasking.py b/Trigger/TrigAlgorithms/TrigT2CaloCommon/share/CaloCellMasking.py index 851df02f02569c9b90660c366fbf6d9ce565c470..d39f9c882dafe648b6ee48fbe6abc9a310f03b1b 100644 --- a/Trigger/TrigAlgorithms/TrigT2CaloCommon/share/CaloCellMasking.py +++ b/Trigger/TrigAlgorithms/TrigT2CaloCommon/share/CaloCellMasking.py @@ -1,9 +1,9 @@ include.block("TrigT2CaloCommon/CaloCellMasking.py") from AthenaCommon.AppMgr import ToolSvc #if not already imported -from LArBadChannelTool.LArBadChannelToolConf import LArBadChanTool, LArBadChannelMasker +from LArBadChannelTool.LArBadChannelToolConf import LArBadChanLegacyTool, LArBadChannelMasker -ToolSvc+=LArBadChanTool("MyBadChanTool") +ToolSvc+=LArBadChanLegacyTool("MyBadChanTool") ToolSvc.MyBadChanTool.ReadFromASCII=False #Not necessary if you have already produced a database file ToolSvc.MyBadChanTool.ComplementaryCoolFolder="/LAR/BadChannels/BadChannelsOnl" #ToolSvc.MyBadChanTool.OutputLevel=VERBOSE diff --git a/Trigger/TrigHypothesis/TrigCaloHypo/python/TrigCaloHypoConfig.py b/Trigger/TrigHypothesis/TrigCaloHypo/python/TrigCaloHypoConfig.py index 0f06f58d6e0aae4b921ec7b14d21205e2d1e99fa..0ac521f5e366dd151287d2141d727181aad249d0 100644 --- a/Trigger/TrigHypothesis/TrigCaloHypo/python/TrigCaloHypoConfig.py +++ b/Trigger/TrigHypothesis/TrigCaloHypo/python/TrigCaloHypoConfig.py @@ -4,7 +4,7 @@ from AthenaCommon.SystemOfUnits import GeV from TrigCaloHypo.TrigCaloHypoConf import TrigEFCaloHypoNoise from LArCellRec.LArCellRecConf import LArNoisyROTool -from LArBadChannelTool.LArBadChannelToolConf import LArBadChanTool +from LArBadChannelTool.LArBadChannelToolConf import LArBadChanLegacyTool from IOVDbSvc.CondDB import conddb from AthenaCommon.AppMgr import ServiceMgr as svcMgr @@ -20,7 +20,7 @@ class EFCaloHypoNoiseConfig (TrigEFCaloHypoNoise): self.BadFEBCut=3 if 'COMP200' not in conddb.GetInstance() and not conddb.isMC: if not hasattr(svcMgr.ToolSvc, "KnownBADFEBsTool"): - theBadFebTool=LArBadChanTool("KnownBADFEBsTool") + theBadFebTool=LArBadChanLegacyTool("KnownBADFEBsTool") theBadFebTool.CoolMissingFEBsFolder="/LAR/BadChannels/KnownBADFEBs" havefolder=False for fld in conddb.iovdbsvc.Folders: @@ -32,7 +32,7 @@ class EFCaloHypoNoiseConfig (TrigEFCaloHypoNoise): else: theBadFebTool=svcMgr.ToolSvc.KnownBADFEBsTool if not hasattr(svcMgr.ToolSvc, "KnownMNBFEBsTool"): - theMNBFebTool=LArBadChanTool("KnownMNBFEBsTool") + theMNBFebTool=LArBadChanLegacyTool("KnownMNBFEBsTool") theMNBFebTool.CoolMissingFEBsFolder="/LAR/BadChannels/KnownMNBFEBs" havefolder=False for fld in conddb.iovdbsvc.Folders: