-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Migrate GEM/CSC validation to esConsumes #31102
Migrate GEM/CSC validation to esConsumes #31102
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31102/17654
|
A new Pull Request was created by @dildick (Sven Dildick) for master. It involves the following packages: Validation/MuonCSCDigis @kmaeshima, @cmsbuild, @andrius-k, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Thanks! |
@@ -56,8 +55,7 @@ void CSCDigiValidation::analyze(const edm::Event &e, const edm::EventSetup &even | |||
theSimHitMap.fill(e); | |||
|
|||
// find the geometry & conditions for this event | |||
edm::ESHandle<CSCGeometry> hGeom; | |||
eventSetup.get<MuonGeometryRecord>().get(hGeom); | |||
edm::ESHandle<CSCGeometry> hGeom = eventSetup.getHandle(geomToken_); |
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.
You could make your life a bit easier by doing
const CSCGeometry *pGeom = &eventSetup.getData(geomToken_);
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31102/17661
|
Pull request #31102 was updated. @benkrikler, @kmaeshima, @andrius-k, @cmsbuild, @rekovic, @jfernan2, @fioriNTU can you please check and sign again. |
The code-checks are being triggered in jenkins. |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
+1
|
@rekovic Could you sign off, please? Thank you. |
kind reminder @cms-sw/l1-l2 |
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Migrate GEM and CSC validation to esConsumes and edm::ESGetToken to provide better threading efficiency, in response to #31061.
Included:
RecoLocalMuon/CSCEfficiency
RecoLocalMuon/CSCValidation
Validation/CSCRecHits
Validation/MuonCSCDigis
Validation/MuonGEMDigis
Validation/MuonGEMHits
Validation/MuonGEMRecHits
Validation/MuonHits
Validation/MuonME0Validation
PR validation:
Tested with WF 23234.0
if this PR is a backport please specify the original PR and why you need to backport that PR:
N/A