diff --git a/Control/AthenaCommon/python/AppMgr.py b/Control/AthenaCommon/python/AppMgr.py index 972a1acbc03e3604993cdb67dead850309f145c0..167b2cf4ffa05c828a35d77899844a533ec3cac7 100755 --- a/Control/AthenaCommon/python/AppMgr.py +++ b/Control/AthenaCommon/python/AppMgr.py @@ -575,6 +575,18 @@ class AthAppMgr( AppMgr ): # redefines to take into acount setup of Configurables def initialize( self ): + # Touch these types early, before dictionaries are loaded, + # to prevent spurious error messages from ROOT. + # See ATLASRECTS-3486. + import cppyy + getattr(cppyy.gbl, 'vector<bool>') + getattr(cppyy.gbl, 'vector<float>') + getattr(cppyy.gbl, 'vector<unsigned short>') + getattr(cppyy.gbl, 'vector<short>') + getattr(cppyy.gbl, 'vector<unsigned long>') + getattr(cppyy.gbl, 'vector<ULong64_t>') + getattr(cppyy.gbl, 'map<string,string>') + # build configuration self.setup()