-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[PF] Add fillDescription to RecoParticleFlow producers #45212
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
Changes from 1 commit
41f08d0
7b34707
50d3e58
2da72f0
a848a6c
c85415b
9fee0bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| import FWCore.ParameterSet.Config as cms | ||
|
|
||
| generator = cms.EDProducer("HepMCCopy") | ||
| from RecoParticleFlow.Configuration.HepMCCopy import HepMCCopy | ||
| generator = HepMCCopy() | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,9 +100,10 @@ void PFRecHitProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSetup | |
| } | ||
|
|
||
| void PFRecHitProducer::fillDescriptions(edm::ConfigurationDescriptions& descriptions) { | ||
| //The following says we do not know what parameters are allowed so do no validation | ||
| // Please change this to state exactly what you do use, even if it is no parameters | ||
| edm::ParameterSetDescription desc; | ||
| desc.setUnknown(); | ||
| descriptions.addDefault(desc); | ||
| edm::ParameterSetDescription psd; | ||
| psd.setUnknown(); | ||
|
||
| desc.add<edm::ParameterSetDescription>("navigator", psd); | ||
| desc.addVPSet("producers", psd, {}); | ||
| descriptions.addWithDefaultLabel(desc); | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.