diff --git a/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py b/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py index 3797b1edec66f7e8e23ee105d3319538851d6480..8e764915b017108d9f30fed2a138f5138b387244 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py +++ b/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py @@ -313,7 +313,7 @@ jtm += WeightPFOTool("pflowweighter") # Trigger xAODType.ObjectType dict entry loading import cppyy try: - cppyy.loadDictionary('xAODBaseObjectTypeDict') + cppyy.load_library('libxAODBaseObjectTypeDict') except: pass from ROOT import xAODType diff --git a/Reconstruction/Jet/JetRec/share/PFSequenceRec.py b/Reconstruction/Jet/JetRec/share/PFSequenceRec.py index 4ce2a49a7fe56328102ff45f8a4b6c7b668c4286..e070a493398b2c1b65cfecc1c361b1519fa3d6d7 100644 --- a/Reconstruction/Jet/JetRec/share/PFSequenceRec.py +++ b/Reconstruction/Jet/JetRec/share/PFSequenceRec.py @@ -78,7 +78,7 @@ jtm += PseudoJetGetter( ) import cppyy try: - cppyy.loadDictionary('xAODBaseObjectTypeDict') + cppyy.load_library('libxAODBaseObjectTypeDict') except: pass from ROOT import xAODType diff --git a/Reconstruction/Jet/JetRecConfig/python/ConstModHelpers.py b/Reconstruction/Jet/JetRecConfig/python/ConstModHelpers.py index a3625a451b028f1cbbf47228c36881b9bea15dce..5a1750857ffcf48949bc0eea67a82c3d7728f32a 100644 --- a/Reconstruction/Jet/JetRecConfig/python/ConstModHelpers.py +++ b/Reconstruction/Jet/JetRecConfig/python/ConstModHelpers.py @@ -8,7 +8,7 @@ ######################################################################## import cppyy try: - cppyy.loadDictionary('xAODBaseObjectTypeDict') + cppyy.load_library('libxAODBaseObjectTypeDict') except Exception: pass from ROOT import xAODType diff --git a/Reconstruction/Jet/JetRecTools/python/ConstitToolManager.py b/Reconstruction/Jet/JetRecTools/python/ConstitToolManager.py index 3808675e1bb4d260417a75f4afc3480977e32a0e..e47472cefaa2a7831dad69e3296857ab6508622b 100644 --- a/Reconstruction/Jet/JetRecTools/python/ConstitToolManager.py +++ b/Reconstruction/Jet/JetRecTools/python/ConstitToolManager.py @@ -32,7 +32,7 @@ class ConstituentToolManager(object): standardModifierLists = dict() import cppyy try: - cppyy.loadDictionary('xAODBaseObjectTypeDict') + cppyy.load_library('libxAODBaseObjectTypeDict') except: pass from ROOT import xAODType diff --git a/Reconstruction/MET/METReconstruction/python/METAssocConfig_readAOD.py b/Reconstruction/MET/METReconstruction/python/METAssocConfig_readAOD.py index 2d962ccda6ecc75c594e609b2abeae2e315fa15a..1b5c3c9ca08f446cd6fc3087de32692537ce3a83 100644 --- a/Reconstruction/MET/METReconstruction/python/METAssocConfig_readAOD.py +++ b/Reconstruction/MET/METReconstruction/python/METAssocConfig_readAOD.py @@ -63,7 +63,7 @@ def getAssociator(config,suffix,doPFlow=False, tool = None import cppyy - try: cppyy.loadDictionary('METReconstructionDict') + try: cppyy.load_library('libMETReconstructionDict') except: pass from AthenaCommon.AppMgr import ToolSvc diff --git a/Reconstruction/RecoTools/CaloRingerTools/python/CaloRingerSelectorsBuilders.py b/Reconstruction/RecoTools/CaloRingerTools/python/CaloRingerSelectorsBuilders.py index 61aa6deaa12e6df29cbd3cc62ceacd7f724a97ec..686e6fc7fcd8203a31ab64fc0c9597b025261aff 100644 --- a/Reconstruction/RecoTools/CaloRingerTools/python/CaloRingerSelectorsBuilders.py +++ b/Reconstruction/RecoTools/CaloRingerTools/python/CaloRingerSelectorsBuilders.py @@ -17,7 +17,7 @@ mlog.info("Entering") import cppyy try: - cppyy.loadDictionary('RingerSelectorToolsDict') + cppyy.load_library('libRingerSelectorToolsDict') except RuntimeError as e: mlog.error("Couldn't load RingerSelectorTools dictionary from cppyy.") raise RuntimeError(e) diff --git a/Reconstruction/egamma/egammaAlgs/python/egammaForwardBuilderConfig.py b/Reconstruction/egamma/egammaAlgs/python/egammaForwardBuilderConfig.py index 0f3c09cd6365cf0dd44bf21c0e73ab0168d5d080..b8db76eb73b4fd63f89c9109321ee49dbf1f07cc 100644 --- a/Reconstruction/egamma/egammaAlgs/python/egammaForwardBuilderConfig.py +++ b/Reconstruction/egamma/egammaAlgs/python/egammaForwardBuilderConfig.py @@ -10,7 +10,7 @@ from ElectronPhotonSelectorTools.AsgForwardElectronIsEMSelectorsConfig import As egammaForwardBuilder=CompFactory.egammaForwardBuilder from ROOT import egammaPID -cppyy.loadDictionary('ElectronPhotonSelectorToolsDict') +cppyy.load_library('libElectronPhotonSelectorToolsDict') def egammaForwardBuilderCfg(flags, name='egammaForwardElectron', **kwargs): diff --git a/Reconstruction/egamma/egammaTools/python/EMPIDBuilderBase.py b/Reconstruction/egamma/egammaTools/python/EMPIDBuilderBase.py index bba35b955d599932263ccc74a0b9d9f33f86eeb2..fcdcaa752eb3df9e657a15ddec0df1aa1309004d 100755 --- a/Reconstruction/egamma/egammaTools/python/EMPIDBuilderBase.py +++ b/Reconstruction/egamma/egammaTools/python/EMPIDBuilderBase.py @@ -10,7 +10,7 @@ from egammaTools.egammaToolsConf import EMPIDBuilder # Eventually we need to get rid of this #import cppyy -#cppyy.loadDictionary('ElectronPhotonSelectorToolsDict') +#cppyy.load_library('libElectronPhotonSelectorToolsDict') class EMPIDBuilderElectronBase (EMPIDBuilder): diff --git a/Reconstruction/egamma/egammaTools/python/EMPIDBuilderConfig.py b/Reconstruction/egamma/egammaTools/python/EMPIDBuilderConfig.py index e69fddcf6ef0f73e98d99b2b15d87929b6f0c051..816f9c087dd99cf61f51d034d1379274b6250ea5 100755 --- a/Reconstruction/egamma/egammaTools/python/EMPIDBuilderConfig.py +++ b/Reconstruction/egamma/egammaTools/python/EMPIDBuilderConfig.py @@ -8,7 +8,7 @@ from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator EMPIDBuilder=CompFactory.EMPIDBuilder from ROOT import egammaPID import cppyy -cppyy.loadDictionary('ElectronPhotonSelectorToolsDict') +cppyy.load_library('libElectronPhotonSelectorToolsDict') def EMPIDBuilderElectronCfg(flags, name='EMPIDBuilderElectron', **kwargs): diff --git a/Reconstruction/egamma/egammaTools/python/egammaToolsFactories.py b/Reconstruction/egamma/egammaTools/python/egammaToolsFactories.py index 8af99a4625bb21eb383243a1b6586b3ea21f9385..42024a9528de413d1f5fba1993b92a9168d708bf 100644 --- a/Reconstruction/egamma/egammaTools/python/egammaToolsFactories.py +++ b/Reconstruction/egamma/egammaTools/python/egammaToolsFactories.py @@ -143,7 +143,7 @@ PhotonPIDBuilder = ToolFactory( # ForwardElectron Selectors ## Eventually we want to get rid of cppyy here -#cppyy.loadDictionary('ElectronPhotonSelectorToolsDict') +#cppyy.load_library('libElectronPhotonSelectorToolsDict') LooseForwardElectronSelector = ToolFactory( ConfiguredAsgForwardElectronIsEMSelector,