Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Commits
909bbd78
Commit
909bbd78
authored
1 year ago
by
Maciej Pawel Szymanski
Browse files
Options
Downloads
Patches
Plain Diff
fix iterating over the branches to get the first pattern match
parent
9e4a5d43
Loading
Loading
1 merge request
!67972
make ROOTTREE default storage for metadata instead of ROOTTREEINDEX
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Control/xAODRootAccess/Root/Utils.cxx
+1
-1
1 addition, 1 deletion
Control/xAODRootAccess/Root/Utils.cxx
with
1 addition
and
1 deletion
Control/xAODRootAccess/Root/Utils.cxx
+
1
−
1
View file @
909bbd78
...
...
@@ -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
;
i
<
=
pBranches
->
GetLast
()
;
++
i
)
{
const
std
::
string
name
=
pBranches
->
At
(
i
)
->
GetName
();
if
(
std
::
regex_match
(
name
,
pattern
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment