diff --git a/Control/AthenaConfiguration/python/AllConfigFlags.py b/Control/AthenaConfiguration/python/AllConfigFlags.py index 021ebe6bf2ae0d7e39e9375b7d8dfd571d5c62b7..d9cf4f1abeab00b3354cffc28715ec97f913413e 100644 --- a/Control/AthenaConfiguration/python/AllConfigFlags.py +++ b/Control/AthenaConfiguration/python/AllConfigFlags.py @@ -258,7 +258,7 @@ def initConfigFlags(): acf.addFlag('Output.TreeAutoFlush', {}) # {} = automatic for all streams, otherwise {'STREAM': 123} acf.addFlag('Output.StorageTechnology.EventData', 'ROOTTREEINDEX') # Set the underlying POOL storage technology for event data - acf.addFlag('Output.StorageTechnology.MetaData', 'ROOTTREEINDEX') # Set the underlying POOL storage technology for metadata + acf.addFlag('Output.StorageTechnology.MetaData', 'ROOTTREE') # Set the underlying POOL storage technology for metadata # Might move this elsewhere in the future. # Some flags from https://gitlab.cern.ch/atlas/athena/blob/master/Tracking/TrkDetDescr/TrkDetDescrSvc/python/TrkDetDescrJobProperties.py diff --git a/Control/xAODRootAccess/Root/Utils.cxx b/Control/xAODRootAccess/Root/Utils.cxx index a675037f3553402abc0edf87e45008d373077363..dd1f6205d133d066391f86e5a991b1367100c924 100644 --- a/Control/xAODRootAccess/Root/Utils.cxx +++ b/Control/xAODRootAccess/Root/Utils.cxx @@ -320,7 +320,7 @@ namespace xAOD { const TObjArray * pBranches = tree->GetListOfBranches(); const std::regex pattern( ".*" + pre + ".*" ); - for( int i = 0; i < pBranches->GetLast() ; ++i ) { + for( int i = 0, nLast = pBranches->GetLast(); i <= nLast; ++i ) { const std::string name = pBranches->At(i)->GetName(); if( std::regex_match( name, pattern ) )