Skip to content

Commit

Permalink
Call produces<> with edm::Transition::EndRun instead of edm::InRun (t…
Browse files Browse the repository at this point in the history
…he latter doesn't work anymore as of 940pre2)
  • Loading branch information
gpetruc committed Oct 4, 2017
1 parent a23e554 commit 3e9aab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class GenWeightsTableProducer : public edm::global::EDProducer<edm::StreamCache<
produces<nanoaod::FlatTable>("LHEScale");
produces<nanoaod::FlatTable>("LHEPdf");
produces<nanoaod::FlatTable>("LHENamed");
produces<nanoaod::MergeableCounterTable,edm::InRun>();
produces<nanoaod::MergeableCounterTable,edm::Transition::EndRun>();
if (namedWeightIDs_.size() != namedWeightLabels_.size()) {
throw cms::Exception("Configuration", "Size mismatch between namedWeightIDs & namedWeightLabels");
}
Expand Down

0 comments on commit 3e9aab9

Please sign in to comment.