-
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
'consumes' migration in JetMETCorrections/Type1MET #1572
'consumes' migration in JetMETCorrections/Type1MET #1572
Conversation
A new Pull Request was created by @TaiSakuma (Tai Sakuma) for CMSSW_7_0_X. 'consumes' migration in JetMETCorrections/Type1MET It involves the following packages: JetMETCorrections/Type1MET @cmsbuild, @vadler, @nclopezo can you please review it and eventually sign? Thanks. |
@TaiSakuma : Thanx a lot for this one! JetMETCorrections/Type1MET/data/FWLiteFunc.C:286: muonCollection.getByLabel(ev,"muons");
JetMETCorrections/Type1MET/data/FWLiteFunc.C:289: metCollection.getByLabel(ev,"met");
JetMETCorrections/Type1MET/interface/CorrectedMETProducerT.h:91: evt.getByLabel(src_, rawMEtCollection);
JetMETCorrections/Type1MET/plugins/Type2CorrectionProducer.cc:135: evt.getByLabel(*inputTag, unclEnergySummand);
JetMETCorrections/Type1MET/src/METCorrectionAlgorithm.cc:69: evt.getByLabel(*srcCHSSum, chsSum);
JetMETCorrections/Type1MET/src/METCorrectionAlgorithm.cc:82: evt.getByLabel(*srcType1Correction, type1Correction);
JetMETCorrections/Type1MET/src/METCorrectionAlgorithm.cc:102: evt.getByLabel(*srcUnclEnergySum, unclEnergySummand); The first two are understood due to FWLite, but the others should be includes as well. Could you please complete them, too? |
@vadler, I did the migration for Type2CorrectionProducer. I am working on METCorrectionAlgorithm now. I have a question about how to implement the migration here. This is not a produce but a class that producer uses. And this class uses another class. So it seems I need to pass around edm::ConsumesCollector. However, I will get the following error when I try to let METCorrectionAlgorithm hand over edm::ConsumesCollector to another class.
Schematically, |
Have class B use a |
@Dr15Jones, Thank you. It is compiled now. |
@TaiSakuma : @Dr15Jones was faster, but here's the reference: |
@vadler, thanks for the reference. |
I think that the migration is done for JetMETCorrections/Type1MET. |
+1 |
This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it? |
Consumes migration -- JetMETCorrections/Type1MET
…ntier fix for timestamp handling in coral frontier and sqlite plugins
No description provided.