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
EventSetup consumes migration for TrackingMonitor #28635
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28635/13182
|
A new Pull Request was created by @wddgit (W. David Dagenhart) for master. It involves the following packages: DQM/TrackingMonitor @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
@@ -259,8 +269,7 @@ void TrackAnalyzer::bookHistosForEfficiencyFromHitPatter(DQMStore::IBooker& iboo | |||
} | |||
} | |||
|
|||
edm::ESHandle<TrackerGeometry> trackerGeometry; | |||
iSetup.get<TrackerDigiGeometryRecord>().get(trackerGeometry); | |||
TrackerGeometry const& trackerGeometry = iSetup.get<TrackerDigiGeometryRecord>().get(trackerGeometryToken_); |
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.
This could be just
TrackerGeometry const& trackerGeometry = iSetup.get<TrackerDigiGeometryRecord>().get(trackerGeometryToken_); | |
TrackerGeometry const& trackerGeometry = iSetup.getData(trackerGeometryToken_); |
no?
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.
Thanks much. That is better. I had forgotten about the new function getData. Saves some typing when ESGetTokens are used. No reason to type the record type again. I fixed this here and in the other places this occurs in this PR.
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.
Thanks!
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28635/13200
|
please test |
The tests are being triggered in jenkins. |
Pull request #28635 was updated. @andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please check and sign again. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+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 |
PR description:
EventSetup consumes migration for TrackingMonitor.
(Note there are many more of these coming on other modules with similar style. Let me know if you have any problems with how this is being done.)
PR validation:
Relies on existing tests. There is not any new functionality. Results should stay exactly the same.