#ServiceMgr.ByteStreamAddressProviderSvc.TypeNames += [ "TRT_RDO_Container/"+InDetKeys.TRT_RDOs() ] if DetFlags.readRDOBS.BCM_on(): from BCM_RawDataByteStreamCnv.BCM_RawDataByteStreamCnvConf import BCM_RodDecoder InDetBCMRodDecoder = BCM_RodDecoder(name="InDetBCMRodDecoder") ToolSvc += InDetBCMRodDecoder if (InDetFlags.doPrintConfigurables()): printfunc(InDetBCMRodDecoder) #InDetBCMRodDecoder.OutputLevel = VERBOSE from BCM_RawDataByteStreamCnv.BCM_RawDataByteStreamCnvConf import BCM_RawDataProviderTool InDetBCMRawDataProviderTool = BCM_RawDataProviderTool( name="InDetBCMRawDataProviderTool", Decoder=InDetBCMRodDecoder) ToolSvc += InDetBCMRawDataProviderTool if (InDetFlags.doPrintConfigurables()): printfunc(InDetBCMRawDataProviderTool) #InDetBCMRawDataProviderTool.OutputLevel = VERBOSE # load the BCM_RawDataProvider from BCM_RawDataByteStreamCnv.BCM_RawDataByteStreamCnvConf import BCM_RawDataProvider InDetBCMRawDataProvider = BCM_RawDataProvider( name="InDetBCMRawDataProvider", RDOKey=InDetKeys.BCM_RDOs(), ProviderTool=InDetBCMRawDataProviderTool) topSequence += InDetBCMRawDataProvider if (InDetFlags.doPrintConfigurables()): printfunc(InDetBCMRawDataProvider) #InDetBCMRawDataProvider.OutputLevel = VERBOSE #ServiceMgr.ByteStreamAddressProviderSvc.TypeNames += [ "BCM_RDO_Container/"+InDetKeys.BCM_RDOs() ]
#+++++++++++++++++ Beginning of WriteInDetESD.py # Writes out all InDet ESD Data from InDetRecExample.InDetKeys import InDetKeys InDetESDList = [] # Save full and zero-suppressed BCM rdos # (the latter is needed to allow writting to AOD and the former will hopefully be removed in future): if not InDetFlags.doDBMstandalone(): InDetESDList += ["BCM_RDO_Container#" + InDetKeys.BCM_RDOs()] InDetESDList += ["BCM_RDO_Container#" + InDetKeys.BCM_CompactDOs()] # In case of cosmics we save the RDOs as well if InDetFlags.writeRDOs(): InDetESDList += [ 'PixelRDO_Container#' + InDetKeys.PixelRDOs(), 'SCT_RDO_Container#' + InDetKeys.SCT_RDOs(), 'TRT_RDO_Container#' + InDetKeys.TRT_RDOs() ] # write phase calculation into ESD if InDetFlags.doTRTPhaseCalculation(): InDetESDList += ['ComTime#TRT_Phase'] # Save PRD. # --------- from AthenaCommon.GlobalFlags import globalflags if globalflags.DataSource == 'data' and InDetFlags.doHeavyIon(): printfunc( "---- > Heavy Ions: No Pixel, SCT or TRT cluster output written for data" ) elif InDetFlags.writePRDs():