Skip to content
Snippets Groups Projects
Commit b85c8aab authored by Maciej Pawel Szymanski's avatar Maciej Pawel Szymanski Committed by Vakhtang Tsulaia
Browse files

make ROOTTREE default storage for metadata instead of ROOTTREEINDEX

make ROOTTREE default storage for metadata instead of ROOTTREEINDEX
parent 77a881b4
1 merge request!67972make ROOTTREE default storage for metadata instead of ROOTTREEINDEX
......@@ -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