Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Peter Sherwood
athena
Commits
93eaac43
Commit
93eaac43
authored
4 years ago
by
R D Schaffer
Browse files
Options
Downloads
Patches
Plain Diff
small correction to logic of previous IOVDbMetaDataTool-fix - should be ok now
parent
508d9294
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Database/IOVDbMetaDataTools/src/IOVDbMetaDataTool.cxx
+16
-15
16 additions, 15 deletions
Database/IOVDbMetaDataTools/src/IOVDbMetaDataTool.cxx
with
16 additions
and
15 deletions
Database/IOVDbMetaDataTools/src/IOVDbMetaDataTool.cxx
+
16
−
15
View file @
93eaac43
...
...
@@ -670,23 +670,24 @@ IOVDbMetaDataTool::overrideIOV (CondAttrListCollection*& coll) const
coll
->
addNewStop
(
newRange
.
stop
());
}
else
{
// Add in channels
unsigned
int
nchans
=
coll
->
size
();
for
(
unsigned
int
ichan
=
0
;
ichan
<
nchans
;
++
ichan
)
{
// FIXME: O(N^2)!
CondAttrListCollection
::
ChanNum
chan
=
coll
->
chanNum
(
ichan
);
coll
->
add
(
chan
,
newRange
);
ATH_MSG_DEBUG
(
"overrideIOV: overriding the IOV of collection "
<<
chan
);
}
// Add in channels
unsigned
int
nchans
=
coll
->
size
();
for
(
unsigned
int
ichan
=
0
;
ichan
<
nchans
;
++
ichan
)
{
// FIXME: O(N^2)!
CondAttrListCollection
::
ChanNum
chan
=
coll
->
chanNum
(
ichan
);
coll
->
add
(
chan
,
newRange
);
ATH_MSG_DEBUG
(
"overrideIOV: overriding the IOV of collection chan "
<<
chan
);
}
// must reset the collection range AFTER the channels, because the collection range will be
// 'narrowed' to that of the channels
coll
->
resetMinRange
();
}
// must reset the collection range AFTER the channels, because the collection range will be
// 'narrowed' to that of the channels
coll
->
resetMinRange
();
if
(
msgLvl
(
MSG
::
DEBUG
))
{
std
::
ostringstream
stream
;
coll
->
dump
(
stream
);
ATH_MSG_DEBUG
(
stream
.
str
());
}
ATH_MSG_DEBUG
(
"overrideIOV: after overriding the IOV of collection"
);
std
::
ostringstream
stream
;
coll
->
dump
(
stream
);
ATH_MSG_DEBUG
(
stream
.
str
());
}
}
else
ATH_MSG_DEBUG
(
"overrideIOV: IOV is not run/event "
);
...
...
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