-
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
Add V0s to miniaod #18300
Add V0s to miniaod #18300
Conversation
A new Pull Request was created by @arizzi for master. It involves the following packages: DataFormats/PatCandidates @perrotta, @cmsbuild, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@arizzi, working on that. |
same update as #18092 to avoid root files in release |
@arizzi |
everything is in the last commit, I'll cherry pick and force update |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@@ -32,6 +37,7 @@ namespace pat { | |||
pat::PATSecondaryVertexSlimmer::PATSecondaryVertexSlimmer(const edm::ParameterSet& iConfig) : | |||
src_(consumes<reco::VertexCompositePtrCandidateCollection>(iConfig.getParameter<edm::InputTag>("src"))), | |||
srcLegacy_(mayConsume<std::vector<reco::Vertex> >(iConfig.getParameter<edm::InputTag>("src"))), | |||
srcV0s_(mayConsume<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("src"))), |
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.
this runtime input type detection is getting only worse.
Please change the module configuration to pass the type to be used at configuration step.
@Dr15Jones is proliferation of this mayConsume to different types OK for the framework, or do we get some unwanted cost?
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.
mayConsumes
is presently (and may always) trigger prefetching of the item requested. It is possible to determine what type is available before calling consumes
. This is done by registering a function to call when new products are registered. The registration is done by passing a functor to callWhenNewProductsRegistered
. The documentation can be found here:
https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideEDMGetDataFromEvent#GetterOfProducts
+1
#18390 is created to possibly follow up on implementation of PhysicsTools/PatAlgos/plugins/PATSecondaryVertexSlimmer.cc |
Add k0 and lambdas from generalV0Candidates producer.
V0s are converted to VertexCompositePtrCandidate and rekeyed to point to packedPFcandidate.
In addition tracks from V0s are white listed
Size increase is 150bytes/event on ttbar
http://arizzi.web.cern.ch/arizzi/miniaod/plusK0.html#recoVertexCompositePtrCandidates_slimmedKshortVertices__PAT
this PR is on top of most recent version of #18092