Skip to content

Commit

Permalink
Merge pull request #29998 from cms-tsg-storm/FixesForPSetBlobProducer…
Browse files Browse the repository at this point in the history
…In11

Fixes in PSetBlobProducer functionality for use in HLT
  • Loading branch information
cmsbuild committed May 28, 2020
2 parents 8f3c8ea + 514b10b commit f5e9b44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EventFilter/Utilities/src/EvFOutputModule.cc
Expand Up @@ -140,7 +140,7 @@ namespace evf {
edm::ParameterSetDescription desc;
edm::StreamerOutputModuleCommon::fillDescription(desc);
EvFOutputModuleType::fillDescription(desc);
desc.addUntracked<edm::InputTag>("psetMap", {"psetMap"})
desc.addUntracked<edm::InputTag>("psetMap", {"hltPSetMap"})
->setComment("Optionally allow the map of ParameterSets to be calculated externally.");
descriptions.addDefault(desc);
}
Expand Down
5 changes: 4 additions & 1 deletion IOPool/Streamer/plugins/ParameterSetBlobProducer.cc
Expand Up @@ -15,7 +15,10 @@ class ParameterSetBlobProducer : public edm::global::EDProducer<edm::BeginRunPro

void globalBeginRunProduce(edm::Run&, edm::EventSetup const&) const final;

static void fillDescriptions(edm::ConfigurationDescriptions&) {}
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
edm::ParameterSetDescription desc;
descriptions.addWithDefaultLabel(desc);
}

private:
edm::EDPutTokenT<std::map<edm::ParameterSetID, edm::ParameterSetBlob>> const token_;
Expand Down
2 changes: 1 addition & 1 deletion IOPool/Streamer/src/StreamerOutputModuleBase.cc
Expand Up @@ -68,7 +68,7 @@ namespace edm {
void StreamerOutputModuleBase::fillDescription(ParameterSetDescription& desc) {
StreamerOutputModuleCommon::fillDescription(desc);
OutputModule::fillDescription(desc);
desc.addUntracked<edm::InputTag>("psetMap", {"psetMap"})
desc.addUntracked<edm::InputTag>("psetMap", {"hltPSetMap"})
->setComment("Optionally allow the map of ParameterSets to be calculated externally.");
}
} // namespace edm

0 comments on commit f5e9b44

Please sign in to comment.