-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Evolve auto_ptr<gen::PdfInfo>-to-unique_ptr read rules to avoid std::auto_ptr
#49593
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
Conversation
|
cms-bot internal usage |
auto_ptr<gen::PdfInfo>-to-unique_ptr read rules to avoid std::auto_ptr
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49593/47131
|
|
A new Pull Request was created by @makortel for master. It involves the following packages:
@cmsbuild, @lviliani, @mkirsano, @sensrcn, @theofil can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
|
@cmsbuild, please test workflow 2500.0201,2500.0202,2500.0203,2500.0204,2500.0401,2500.0402,2500.0403, By quick look at least these workflows seem to read older-than-11_0_X AODSIM or MiniAODSIM files, and thus I'd expect to exercise the read rules. |
|
@cmsbuild, please test workflow 2500.0201,2500.0202,2500.0203,2500.0204,2500.0401,2500.0402,2500.0403,2500.0404 |
|
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
|
Comparison differences are related to #47071 |
|
@cms-sw/generators-l2 Could you review and sign? It would be great to have this PR in 16_0_0_pre4. |
|
@cms-sw/generators-l2 Ping |
|
+generators |
|
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. @mandrenguyen, @sextonkennedy, @ftenchini (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
This PR applies the ROOT schema evolution pattern that avoids the use of
std::auto_ptr(that was formally removed in C++17), for which a test was developed in #48817, to thestd::auto_ptr<gen::PdfInfo>-to-std::unique_ptr<gen::PdfInfo>read rules forGenEventInfoProductandLHEEventProduct.In addition, the first commit fixes the
LHEEventProductread rule to include all versions before13(that came up in #49538). I included it here to because I had to touch the same line inclasses_def.xml, and doing that change first makes the backporting easier.Fixes #43422
Fixes #43923
Resolves cms-sw/framework-team#1538
Resolves cms-sw/framework-team#1714
PR validation:
Code compiles, and the deprecation warnings along
are gone. Testing of the actual behavior relies of the test of the pattern added in #48817, and in existing tests (including runTheMatrix) in PR and IB tests.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
The first commit will be backported (at least down to 15_0_X).