-
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
Clean up and migrating edm::RefToBase to edm::Ptr (list 2 for RNTuple) #43080
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43080/37313
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@tvami, @jfernan2, @mandrenguyen, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8c65a5/35346/summary.html Comparison SummarySummary:
|
+analysis
|
+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. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
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.
What is the purpose of this file?
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.
No purpose. Sorry it happened to be included because I just used git add *
command. I remove it.
(This file was created after running the scram build updateclassversion
).
Pull request #43080 was updated. @mandrenguyen, @tvami, @cmsbuild, @jfernan2 can you please check and sign again. |
481be8f
to
b001ace
Compare
please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
+1 |
Thanks @jeongeun! |
+analysis |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
@cmsbuild , please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8c65a5/35512/summary.html Comparison SummarySummary:
|
+1 |
PR description:
This pull request is the second update to address the opened issue #42737 :
ROOT is eventually deprecating the current TTree data storage in favor of their new
RNTuple
which is not planned to support dynamic polymorphism. One such use case in our data formats isedm::RefToBase<T>
that internally uses dynamic-polymorphism based type erasure. The straightforward migration path is towardsedm::Ptr<T>
.Previous PR #43055 covered the first case on the list.
And this PR covers the second case :
It contains the set of
edm::RefToBase<T>
that the referenced-to class appear to be unused.The unused code, the dictionaries and/or type aliases are removed.
As described in #42737,
Clean up the unused
reco::WMuNuCandidatePtr
andreco::WMuNuCandidate
.Replace
edm::RefToBase<CaloRecHit>
withedm::Ptr<CaloRecHit>
(if no need to be kept, then I will remove).edm::RefToBase<CaloRecHit>CaloRecHitRef
used as a member data ofCaloRecHitCandidate
. AndCaloRecHitCandidate
seems to be only produced byCaloRecHitCandidateProducer<T>
. Unclear if anything consumes. The template instantiations seem to be unused.PR validation:
Tested in CMSSW_13_3_0_pre3, the basic test passed in the CMSSW PR instructions