Skip to content
Snippets Groups Projects
Commit 7b54ccfd authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'main-maszyman-metdata-roottree-dev2' into 'main'

make ROOTTREE default storage for metadata instead of ROOTTREEINDEX

See merge request atlas/athena!67972
parents 5068614a b85c8aab
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment