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
Use esConsumes in CosmicSeedGenerator #35258
Use esConsumes in CosmicSeedGenerator #35258
Conversation
Now pass in the necessary ES data product.
Now pass in the needed EventSetup data products.
@makortel FYI |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35258/25241
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa7d62/18572/summary.html CMS StaticAnalyzer warnings: There are 5 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa7d62/18572/llvm-analysis/esrget-sa.txt for details. Comparison SummarySummary:
|
edm::ESHandle<GeometricSearchTracker> track; | ||
iSetup.get<TrackerRecoGeometryRecord>().get(track); | ||
edm::ESHandle<TrackerTopology> httopo; | ||
iSetup.get<TrackerTopologyRcd>().get(httopo); |
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.
is this and 4 more es::get
left for another 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.
That class apparently isn't used in any of the RelVals so its conversion isn't pressing.
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 is occasionally used by the SiStrip group to test reconstruction with the Cosmic Rack, I can have a look next week.
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.
See #35367
RecoTracker/TkHitPairs/src/CosmicHitPairGeneratorFromLayerPair.cc
Outdated
Show resolved
Hide resolved
/* | ||
class CompareHitPairsY { | ||
public: |
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.
is this commented out code needed?
Please remove or add comments inline in the code why the commented out block is relevant
... here it looks like a comment like // uncomment if the sort operation commented out below needs to be called
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'm extending the multiline comment to include the sort part so it is obvious they belong together.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35258/25330
|
please tset |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa7d62/18706/summary.html CMS StaticAnalyzer warnings: There are 5 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-aa7d62/18706/llvm-analysis/esrget-sa.txt for details. Comparison SummarySummary:
|
+reconstruction
|
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:
Modified helpers used by CosmicSeedGenerator to either no longer depend no the EventSetup or to use esConsumes.
PR validation:
Code compiles.