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
ECAL esConsumes migrations in EventFilter and RecoLocalCalo #34273
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34273/23573
|
A new Pull Request was created by @thomreis (Thomas Reis) for master. It involves the following packages: EventFilter/EcalRawToDigi @perrotta, @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-1cbc5d/16290/summary.html Comparison SummarySummary:
|
Thanks @sroychow I will update the doc for future migrations. |
recHitParametersHandle_ = setup.getHandle(tokenRecHitParameters_); | ||
|
||
auto const& ADCToGeVConstantProduct = ADCToGeVConstantHandle_->getProduct(ctx.stream()); |
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.
are the handles actually needed? It seems like their usefulness is only as a temporary to be immediately dereferenced.
getData
here seems more appropriate.
auto const& adcToGeVConstantProduct = setup.getData(tokenADCToGeVConstant_).getProduct(ctx.stream());
please check and cleanup.
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.
Only two of those are needed. I will replace the rest with getData()
.
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.
Only two of those are needed. I will replace the rest with
getData()
.
thank you.
the remaining two are used only locally and could as well be defined just in the ::acquire
method itself.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34273/23615
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1cbc5d/16368/summary.html Comparison SummarySummary:
|
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:
esConsumes migrations of remaining
EventSetupRecord::get
occurrences in EventFilter/EcalRawToDigi and RecoLocalCalo/EcalRecProducers.PR validation:
Complies and passes 136.874.