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
SiStripMonitorClient cleanup #24467
SiStripMonitorClient cleanup #24467
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-24467/6312 |
A new Pull Request was created by @knoepfel (Kyle Knoepfel) for master. It involves the following packages: DQM/SiStripMonitorClient @kmaeshima, @cmsbuild, @andrius-k, @jfernan2, @schneiml can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
@suchandradutta FYI |
@knoepfel, thanks for the cleanup. May I ask why it was decided to do this now? |
Hi @mmusich, good questions. @Dr15Jones, @schneiml and I have been working toward upgrading uses of As far as when to include these changes, I do not have a strong preference. Note, however, that in a few weeks my development time on CMS will be zero due to other responsibilities. Also, none of the changes I made should have any effect on the histogram contents--hopefully there are enough PR tests that can exercise the modified code...? |
@knoepfel Thank you very much for this. This seems to me like a major modification of the code, which is always a little scary when operations are running. May I ask you why these modifications were urgently needed ? Has somebody made sure that the DQM plots are left unchanged ? |
@jandrea, see my comments to Marco. |
@knoepfel sorry, our messages just crossed. I understand from your answer to Marco that there are no major issues with the current code. I also understand that it was not fully tested that the plots are left unchanged (?). So I would feel much more comfortable if we could postpone this PR to at least when these tests are performed ? |
@jandrea, are you saying the integration tests that are currently being executed (as a consequence of @andrius-k typing |
@knoepfel I actually don't know. Your modifications potentially affects all the plots, right ? I guess one would need to run on data with the old and new codes and make sure plots are the same ? Is this kind of things automatised ? |
@jandrea, many tests are run during the PR "please test" phase, but I do not know which ones actually exercise the |
Comparison job queued. |
We took an example module (
Once the comparison job is done, we can make sure the histograms match with the reference histograms. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-24467/8539
|
The tests are being triggered in jenkins. |
Pull request #24467 was updated. @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please check and sign again. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
unhold |
@andrius-k @schneiml do you confirm the signature? |
@@ -1,899 +0,0 @@ | |||
#include "DQM/SiStripMonitorClient/interface/SiStripInformationExtractor.h" |
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.
why is this file and the corresponding header being removed entirely?
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.
Honestly, I don't remember why I removed it. Of course, it could be added back if needed. As @Dr15Jones said above, I have no time to spend on CMS code, so I'm afraid someone else with have to restore it if that is necessary.
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.
I just checked, and nothing in CMSSW refers to SiStripInformationExtractor. It is therefore easier to remove then to continue fixing.
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 tests performed by the SiStrip groups outside of the regular production workflows were positive |
The DQM/SiStripMonitorClient directly uses the
DQMStore
interface, instead of using theIBooker
andIGetter
transaction classes. In addition, a pointer to theDQMStore
object is cached in several plugins. This PR removes explicitly caching of theDQMStore
pointer. In addition, many C++ improvements are included related to ownership semantics, updated syntax, etc.To actually move to using the
IBooker
andIGetter
interface will require more effort.Clang-format has been run for this PR--those changes are included as a separate commit.