-
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
73X - consumes migration XI #5944
Conversation
…so better name) and restore old version to avoid conflicts with non-AT packages (sterile solution).
…short matrix WFs succeed.
A new Pull Request was created by @vadler (Volker Adler) for CMSSW_7_3_X. 73X - consumes migration XI It involves the following packages: CommonTools/ParticleFlow @nclopezo, @StoyanStoynev, @danduggan, @rovere, @monttj, @cmsbuild, @deguio, @slava77, @vadler, @ojeda can you please review it and eventually sign? Thanks. |
@deguio : I also migrated some small pieces of DQM code/configs, because they were very "close" to the touched JetMETCorrection configs. |
@rappoccio : Could you also take a look, please? |
@@ -523,19 +528,19 @@ def toolCode(self, process): | |||
setattr(process,jetCorrections[0]+_labelCorrName+'pfCandsNotInJetsPtrForMetCorr'+postfix,pfCandsNotInJetsPtrForMetCorr.clone(topCollection = jetCorrections[0]+_labelCorrName+'pfJetsPtrForMetCorr'+postfix)) | |||
setattr(process,jetCorrections[0]+_labelCorrName+'pfCandsNotInJetsForMetCorr'+postfix,pfCandsNotInJetsForMetCorr.clone(src = jetCorrections[0]+_labelCorrName+'pfCandsNotInJetsPtrForMetCorr'+postfix)) | |||
setattr(process,jetCorrections[0]+_labelCorrName+'CandMETcorr'+postfix, pfCandMETcorr.clone(src = cms.InputTag(jetCorrections[0]+_labelCorrName+'pfCandsNotInJetsForMetCorr'+postfix))) | |||
setattr(process,jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, corrPfMetType1.clone(src = jetSource)) | |||
setattr(process,jetCorrections[0]+_labelCorrName+'JetMETcorr'+postfix, corrPfMetType1.clone(src = jetSource, jetCorrLabel = cms.InputTag(jetCorrections[0]+'CombinedCorrector'))) # FIXME: Originally w/o jet corrections? |
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.
@mmarionncern : Is this fix correct?
Overall looks good to me, but perhaps I have one question : does this maintain the "FWLite" method that takes in text files? This was a popular method of access in Run 1 (i.e. talking to the DB, pulling in the constants, writing a text file, and using the text file in FWlite). |
@rappoccio : FWLite is not affected by the |
@vadler Correct, this should be okay then. Thanks! |
@rappoccio : I have also one question: |
@vadler : if the services are missing, usually it means they don't exist so we take them out to avoid confusion. That way the user gets descriptive errors at compile time rather than opaque errors at run time. |
@rappoccio : I see. Then the changes in vadler@b961b4f#diff-1 and their correspondences in vadler@b961b4f#diff-0 should be reverted, right? |
@vadler : Yes, probably that is for the best. |
+1 for #5944 878506b the issue in JetMETCorrections/Type1MET/interface/JetCorrExtractorT.h should be followed up, I guess. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). This pull request will be automatically merged. |
@slava77 : Follow-up is in |
It looks like it was my mistake, overlooking the obvious somehow :-( |
I think, I slipped into the wrong diff (CaloJetMETcorrInputProducerT). |
@vadler
|
@slava77 : Hmm, the old ESProducer requests the same data: |
it could as well be that the ESProducer's products were never requested, the EDProducer now runs, since this is a scheduled mode |
@slava77 , @deguio : Looking closer to it, I rather claim an inconsistency between RECO and DQM in the failing WFs (300.0, 301.0, 302.0, 140.0, 140.51, 140.52, 140.53). The module in question is the |
Just for "bookkeeping": Discussion is continued in |
After the integration of the new
reco::JetCorrector
with #5141 to resolve the issue ofedm::ConsumesCollector
s to be passed to an ES object, this PR makes use of the new ED product and its producer in the scope of AT.Beside some necessary code changes, it mostly consists of configuration changes/additions, since the new approach requires to add EDProducers, where the
JetCorrectionService
has been called before.No regressions are expected. Some example comparisons showing identity of before/after are attached.