diff --git a/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py b/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py index f96f53de9347697ec427bbb5ba348a2b73532a80..241ef97febf3a4c2ef1c7353805595d8aef9e7c3 100644 --- a/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py +++ b/MuonSpectrometer/MuonConfig/python/MuonRdoDecodeConfig.py @@ -167,16 +167,20 @@ def muonRdoDecodeTestData( forTrigger = False ): log.setLevel(DEBUG) log.info('About to setup Rpc Raw data decoding') - + cfg=ComponentAccumulator() - + # Seem to need this to read BS properly from ByteStreamCnvSvc.ByteStreamConfig import TrigBSReadCfg cfg.merge(TrigBSReadCfg(ConfigFlags )) # Schedule Rpc bytestream data decoding - once mergeAll is working can simplify these lines from MuonConfig.MuonBytestreamDecodeConfig import RpcBytestreamDecodeCfg - rpcdecodingAcc, rpcdecodingAlg = RpcBytestreamDecodeCfg( ConfigFlags ) + rpcdecodingAcc, rpcdecodingAlg = RpcBytestreamDecodeCfg( ConfigFlags, forTrigger ) + # Put into a verbose logging mode to check the caching + if forTrigger: + rpcdecodingAlg.ProviderTool.OutputLevel = DEBUG + cfg.merge( rpcdecodingAcc ) cfg.addEventAlgo( rpcdecodingAlg ) @@ -223,7 +227,6 @@ def muonRdoDecodeTestData( forTrigger = False ): cfg.merge(cscbuildingAcc) cfg.addEventAlgo(cscbuildingAlg) - # Need to add POOL converter - may be a better way of doing this? from AthenaCommon import CfgMgr cfg.addService( CfgMgr.AthenaPoolCnvSvc() )