Skip to content

Commit f5e9b44

Browse files
authored
Merge pull request cms-sw#29998 from cms-tsg-storm/FixesForPSetBlobProducerIn11
Fixes in PSetBlobProducer functionality for use in HLT
2 parents 8f3c8ea + 514b10b commit f5e9b44

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

EventFilter/Utilities/src/EvFOutputModule.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ namespace evf {
140140
edm::ParameterSetDescription desc;
141141
edm::StreamerOutputModuleCommon::fillDescription(desc);
142142
EvFOutputModuleType::fillDescription(desc);
143-
desc.addUntracked<edm::InputTag>("psetMap", {"psetMap"})
143+
desc.addUntracked<edm::InputTag>("psetMap", {"hltPSetMap"})
144144
->setComment("Optionally allow the map of ParameterSets to be calculated externally.");
145145
descriptions.addDefault(desc);
146146
}

IOPool/Streamer/plugins/ParameterSetBlobProducer.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ class ParameterSetBlobProducer : public edm::global::EDProducer<edm::BeginRunPro
1515

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

18-
static void fillDescriptions(edm::ConfigurationDescriptions&) {}
18+
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
19+
edm::ParameterSetDescription desc;
20+
descriptions.addWithDefaultLabel(desc);
21+
}
1922

2023
private:
2124
edm::EDPutTokenT<std::map<edm::ParameterSetID, edm::ParameterSetBlob>> const token_;

IOPool/Streamer/src/StreamerOutputModuleBase.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace edm {
6868
void StreamerOutputModuleBase::fillDescription(ParameterSetDescription& desc) {
6969
StreamerOutputModuleCommon::fillDescription(desc);
7070
OutputModule::fillDescription(desc);
71-
desc.addUntracked<edm::InputTag>("psetMap", {"psetMap"})
71+
desc.addUntracked<edm::InputTag>("psetMap", {"hltPSetMap"})
7272
->setComment("Optionally allow the map of ParameterSets to be calculated externally.");
7373
}
7474
} // namespace edm

0 commit comments

Comments
 (0)