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
Partial esConsumes migration for TrajectorySeedProducer #35137
Partial esConsumes migration for TrajectorySeedProducer #35137
Conversation
Excludes migration related to MultipleScatteringParametrisation and PixelRecoUtilities because Matti is working on that separately.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35137/25047
|
A new Pull Request was created by @wddgit (W. David Dagenhart) for master. It involves the following packages:
@civanch, @lveldere, @sbein, @ssekmen, @mdhildreth, @cmsbuild, @slava77, @jpata can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
I just looked. There are some near misses with #35081 , but no actual conflicting lines. Possibly the lines are so close in a couple places git will complain and one PR or the other will need a trivial rebase. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c05cec/18273/summary.html CMS StaticAnalyzer warnings: There are 1 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c05cec/18273/llvm-analysis/esrget-sa.txt for details. Comparison SummarySummary:
|
@@ -143,10 +144,8 @@ void SeedGeneratorFromProtoTracksEDProducer::produce(edm::Event& ev, const edm:: | |||
sqrt(proto.momentum().x() * proto.momentum().x() + proto.momentum().y() * proto.momentum().y()); |
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.
SA points to es.get<TransientRecHitRecord>().get(builderName, ttrhbESH);
a few lines above.
Can this be migrated as well?
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.
Sure. I can migrate that module also. I was originally just focusing on the module TrajectorySeedProducer and touched this module as a knock-on because the change to SeedCreator affected it. I'll push a commit soon.
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.
After looking at this more, I realized ttrhbESH is not used, so I just deleted it (I assumed there was not some strange side effect to running the EventSetup get function). Note that I just fixed the one thing referenced in the PR comment. I didn't migrate SeedFromProtoTrack which also uses EventSetup in this module. I could if requested, but that is used elsewhere and possibly would be better handled in a separate PR, if in fact that block of code is ever run. I'll migrate more if requested.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35137/25139
|
please test |
is the build system particularly busy now or did the build system get stuck for this PR? |
the last "comparison summary" was posted more than 7 hrs ago in the cms-sw repos. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-c05cec/18419/summary.html Comparison SummarySummary:
|
@cms-sw/fastsim-l2 Could you review and sign, please? |
+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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Partial esConsumes migration for TrajectorySeedProducer. Excludes migration related to MultipleScatteringParametrisation and PixelRecoUtilities because Matti is working on that separately.
PR validation:
Relies on existing tests.