diff --git a/DataQuality/DataQualityTools/python/DQTDetSynchMonAlg.py b/DataQuality/DataQualityTools/python/DQTDetSynchMonAlg.py index 01e74965b80006817b883f2bb2f7a7ecbb09d050..859b37791fe51dd692336c48894307383cf0db68 100644 --- a/DataQuality/DataQualityTools/python/DQTDetSynchMonAlg.py +++ b/DataQuality/DataQualityTools/python/DQTDetSynchMonAlg.py @@ -173,9 +173,9 @@ if __name__ == '__main__': # Initialize configuration object, add accumulator, merge, and run. from AthenaConfiguration.MainServicesConfig import MainServicesCfg #from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg cfg = MainServicesCfg(ConfigFlags) - cfg.merge(TrigBSReadCfg(ConfigFlags)) + cfg.merge(ByteStreamReadCfg(ConfigFlags)) from TrigInDetConfig.InDetConfig import TrigInDetConfig cfg.merge(TrigInDetConfig(ConfigFlags)) diff --git a/DetectorDescription/RegionSelector/python/RegSelConfig.py b/DetectorDescription/RegionSelector/python/RegSelConfig.py index 29984e3bf91c062565f411a85d397963af9003ae..a440fb5b4393ce3c5778f31698e647a8eeea144d 100644 --- a/DetectorDescription/RegionSelector/python/RegSelConfig.py +++ b/DetectorDescription/RegionSelector/python/RegSelConfig.py @@ -136,8 +136,8 @@ if __name__ == "__main__": # cfg.merge( PoolReadCfg( ConfigFlags ) ) - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - cfg.merge(TrigBSReadCfg( ConfigFlags )) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + cfg.merge(ByteStreamReadCfg( ConfigFlags )) acc = regSelCfg( ConfigFlags ) diff --git a/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py b/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py index 17fbb7de231d8145d8c5eae3c138e49e6cd08a16..de44b7f9143ca2463b142b824a866d020410ec03 100644 --- a/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py +++ b/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py @@ -64,11 +64,6 @@ def ByteStreamReadCfg( inputFlags, typeNames=[] ): return acc -def TrigBSReadCfg( flags, typeNames=[] ): - # TODO: Search and replace all clients to use ByteStreamReadCfg directly, then remove TrigBSReadCfg - return ByteStreamReadCfg( flags, typeNames ) - - def ByteStreamWriteCfg( flags, typeNames=[] ): acc = ComponentAccumulator("AthOutSeq") outputSvc = CompFactory.ByteStreamEventStorageOutputSvc() @@ -106,6 +101,6 @@ if __name__ == "__main__": ConfigFlags.Input.Files = defaultTestFiles.RAW - acc = TrigBSReadCfg( ConfigFlags ) + acc = ByteStreamReadCfg( ConfigFlags ) acc.store( open( "test.pkl", "wb" ) ) print("All OK") diff --git a/LArCalorimeter/LArMonitoring/python/LArHVDBConfig.py b/LArCalorimeter/LArMonitoring/python/LArHVDBConfig.py index a35f1155c2f70328a306878c3cceb76fdd94ed47..e34f4a3f6ac61acd0a8fb2475999e9967ce55215 100644 --- a/LArCalorimeter/LArMonitoring/python/LArHVDBConfig.py +++ b/LArCalorimeter/LArMonitoring/python/LArHVDBConfig.py @@ -49,8 +49,8 @@ if __name__=="__main__": ConfigFlags.lock() cfg=ComponentAccumulator() - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - cfg.merge( TrigBSReadCfg(ConfigFlags) ) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + cfg.merge( ByteStreamReadCfg(ConfigFlags) ) from LArGeoAlgsNV.LArGMConfig import LArGMCfg cfg.merge(LArGMCfg(ConfigFlags)) diff --git a/MuonSpectrometer/MuonConfig/python/MuonBytestreamDecodeConfig.py b/MuonSpectrometer/MuonConfig/python/MuonBytestreamDecodeConfig.py index ac542423ddc94bd48cc0df26a2f733ea7dfa7135..8f58c38694b5270dead7455c2c90f23628ec5902 100644 --- a/MuonSpectrometer/MuonConfig/python/MuonBytestreamDecodeConfig.py +++ b/MuonSpectrometer/MuonConfig/python/MuonBytestreamDecodeConfig.py @@ -228,8 +228,8 @@ if __name__=="__main__": cfg=ComponentAccumulator() # Seem to need this to read BS properly - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - cfg.merge(TrigBSReadCfg(ConfigFlags )) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + cfg.merge(ByteStreamReadCfg(ConfigFlags )) # Schedule Rpc data decoding rpcdecodingAcc = RpcBytestreamDecodeCfg( ConfigFlags ) diff --git a/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py b/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py index 0932823f79f26b3be6ddd1113bebc8ca8e263511..f3a55a6af013914745314c581af74dece3e8e522 100644 --- a/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py +++ b/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py @@ -224,8 +224,8 @@ def muonRdoDecodeTestData( forTrigger = False ): cfg=ComponentAccumulator() # Seem to need this to read BS properly - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - cfg.merge(TrigBSReadCfg(ConfigFlags )) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + cfg.merge(ByteStreamReadCfg(ConfigFlags )) # Add the MuonCache to ComponentAccumulator for trigger/RoI testing mode if forTrigger: diff --git a/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py b/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py index 89b0204f7c36eadb2f13431f90298bddefd51b11..814312213c790cae9fa4b85d3f79a81da9f979e7 100644 --- a/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py +++ b/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py @@ -94,8 +94,8 @@ if __name__ == "__main__": ConfigFlags.lock() acc = ComponentAccumulator() - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - acc.merge( TrigBSReadCfg( ConfigFlags ) ) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + acc.merge( ByteStreamReadCfg( ConfigFlags ) ) acc.merge( trigCaloDataAccessSvcCfg( ConfigFlags ) ) diff --git a/Trigger/TrigTools/TrigInDetConfig/python/TrigInDetConfig.py b/Trigger/TrigTools/TrigInDetConfig/python/TrigInDetConfig.py index 21b0c07f878f2cd884fff2546317de7b8ca36bfb..a5fceef394520721819ea69a3afc09cb18d09a82 100644 --- a/Trigger/TrigTools/TrigInDetConfig/python/TrigInDetConfig.py +++ b/Trigger/TrigTools/TrigInDetConfig/python/TrigInDetConfig.py @@ -417,8 +417,8 @@ if __name__ == "__main__": l1DecoderAcc, l1DecoderAlg = L1DecoderCfg( ConfigFlags ) acc.addEventAlgo(l1DecoderAlg) acc.merge(l1DecoderAcc) - from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg - acc.merge(TrigBSReadCfg(ConfigFlags)) + from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg + acc.merge(ByteStreamReadCfg(ConfigFlags)) acc.merge( TrigInDetConfig( ConfigFlags ) ) from RegionSelector.RegSelConfig import regSelCfg diff --git a/Trigger/TrigValidation/TrigUpgradeTest/share/EmuNewJOTest.py b/Trigger/TrigValidation/TrigUpgradeTest/share/EmuNewJOTest.py index 84c4201a66e02c81c993d2e06299a45d2eae29f3..749f814e09d9ede13138d30c9e9e848e650fb238 100644 --- a/Trigger/TrigValidation/TrigUpgradeTest/share/EmuNewJOTest.py +++ b/Trigger/TrigValidation/TrigUpgradeTest/share/EmuNewJOTest.py @@ -7,7 +7,7 @@ from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.AllConfigFlags import ConfigFlags as flags from AthenaCommon.Constants import INFO, DEBUG, VERBOSE from AthenaCommon.Logging import logging -from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg +from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg from TrigUpgradeTest.TriggerHistSvcConfig import TriggerHistSvcConfig from MuonConfig.MuonCablingConfig import RPCCablingConfigCfg, TGCCablingConfigCfg from TrigConfigSvc.TrigConfigSvcConfig import TrigConfigSvcCfg @@ -31,7 +31,7 @@ flags.Trigger.L1Decoder.forceEnableAllChains = True flags.lock() acc = ComponentAccumulator() -acc.merge(TrigBSReadCfg(flags)) +acc.merge(ByteStreamReadCfg(flags)) acc.merge(TriggerHistSvcConfig(flags)) l1DecoderAlg, OrigHLTChains = generateL1DecoderAndChains() diff --git a/Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py b/Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py index 29835f3dd108a30d3b575b0d047e19ae98cd966e..8461b59495332fd60949158de2c550d875d26a08 100644 --- a/Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py +++ b/Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py @@ -54,8 +54,8 @@ flags.lock() from AthenaCommon.Constants import INFO,DEBUG,WARNING acc = MainServicesCfg( flags ) -from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg -acc.merge(TrigBSReadCfg( flags )) +from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg +acc.merge(ByteStreamReadCfg( flags )) from TrigUpgradeTest.TriggerHistSvcConfig import TriggerHistSvcConfig