-
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
Extend thinning to support slimming #31100
Conversation
The code-checks are being triggered in jenkins. |
…thinned collection
Add ThinnedAssociationsHelper::slimmed_
ec0d907
to
ef39b71
Compare
The code-checks are being triggered in jenkins. |
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages: DataFormats/Common @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
@Dr15Jones @wddgit Please review |
FYI @bendavid |
The tests are being triggered in jenkins.
|
The tests are being triggered in jenkins.
|
Comparison is ready Comparison Summary:
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 I'll collect the remaining items into an issue. |
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) |
Done in #31321. |
+1 |
PR description:
This PR extends the framework's thinning feature to support slimming as outlined in #30544 (comment):
nullptr
is returned) and the thinned+slimmed collection would contain the requested elementnullptr
nullptr
parent -> slimmed1 -> thinned2 -> slimmed3
, but not any ofslimmed1X
andslimmed2Y
modules in separate jobs is allowed, assuming the other slimmed products are not visible there.slimmed1X
andslimmed2Y
from different files (via primary and secondary inputs) results an errorIn addition, this PR
thinnedRefFrom()
(suggested in [RFC] Store TrackExtra, TrackingRecHits, and SiPixel/StripClusters for muons in AOD+MINIAOD #30544 (comment)) in a way that does not lead to asking asking products from ProductResolvers ([RFC] Store TrackExtra, TrackingRecHits, and SiPixel/StripClusters for muons in AOD+MINIAOD #30544 (comment))edmNew::DetSetVector
(needed for Fix the MadGraph bug for multithreading (backport #30444) #30445)ThinnedRefSet
to help withSelector
to keep track of keys to input collection that may come from any of the parent collections in the parentage tree of thinned collectionsreset()
function to be required on the thinningSelector
classes. It will be called after the object loop to allow clearing any intermediate data structures.PR validation:
Framework unit tests pass.