-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Migrate away from OwnVector<TrackingRegion>
#44063
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44063/39009
|
A new Pull Request was created by @wddgit for master. It involves the following packages:
@rvenditti, @mandrenguyen, @tjavaid, @nothingface0, @sbein, @ssekmen, @syuvivida, @jfernan2, @mdhildreth, @civanch, @cmsbuild, @antoniovagnerini 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-ce24bb/37632/summary.html Comparison SummarySummary:
|
+1 |
+1 this is a technical PR |
+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, @antoniovilela, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This is part of a campaign to remove code related to OwnVector. This is in preparation for a possible move to RNTuple from TTree as a persistence mechanism. RNTuple does not support OwnVector because it allows polymorphism. Issue #42734 discusses this in more detail.
In this PR,
OwnVector<TrackingRegion>
is replaced bystd::vector<std::unique_ptr<TrackingRegion>>
. This is one of the classes on Matti's list in the issue.The dictionaries are transient so there should be no backward compatibility issues.
The output and behavior of the code should be the same as before. There is one producer and 4 modules that consume the product.
(The code-format utility also modified the spacing in a few lines...)
PR validation:
runTheMatrix.py executes most of the modifed code. Test 25.0 runs the producer and 2 of the modules that consume the product. Test 5.1 executes the FastSimulation module that consumes the product and the producer. TrajectorySeedProducer seems to be only run by HLT configurations, but I temporarily forced it to run in test 25.0 (just manually added it). I verified all those tests successfully get past the point where Event::get is called and its succeeds getting the product put by the producer. All the runTheMatrix "limited" tests pass.