-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete ME after writing #5682
Delete ME after writing #5682
Conversation
A new Pull Request was created by @deguio for CMSSW_7_1_X. Delete ME after writing It involves the following packages: DQMServices/Components @nclopezo, @danduggan, @rovere, @cmsbuild, @deguio, @ojeda can you please review it and eventually sign? Thanks. |
{ | ||
data_.erase(i_lumi); | ||
} | ||
++i_lumi; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The call to erase
invalidated i_lumi so you can't advance it. I think what you need to do is
auto temp = i_lumi++;
if( temp->getFullname() ... ) {
data_.erase(temp);
}
hello @Dr15Jones For what concerns the markToDelete method, it is triggered only by the DQMFileSaver, which is a global module, at the globalEndLumi on old MEs (belonging lumis older than the current one). |
now the two methods markedToDelete and markToDelete are private in MonitorElement |
sure, I will add a comment. at the moment this is not the case. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes or unless it breaks tests. @Degano can you please take care of it? |
@Dr15Jones
this should address the comment you made to #5650
comments are welcome.. :)
ciao,
F.