Skip to content

Commit

Permalink
Merge pull request #41403 from slava77/patch-117
Browse files Browse the repository at this point in the history
cleanup spurious change introduced in PAT photon/muon producer auto fwd-port in 2015
  • Loading branch information
cmsbuild authored Apr 27, 2023
2 parents ca7d759 + 8cbe321 commit d37d279
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions PhysicsTools/PatAlgos/plugins/PATMuonProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,6 @@ void pat::PATMuonProducer::readIsolationLabels(const edm::ParameterSet& iConfig,
for (; it != ed; ++it, ++key) {
labels.push_back(std::make_pair(pat::IsolationKeys(key), *it));
}
tokens = edm::vector_transform(
labels, [this](IsolationLabel const& label) { return consumes<edm::ValueMap<T>>(label.second); });
}
}
tokens = edm::vector_transform(labels, [this](pat::PATMuonProducer::IsolationLabel const& label) {
Expand Down
3 changes: 0 additions & 3 deletions PhysicsTools/PatAlgos/plugins/PATPhotonProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ void pat::PATPhotonProducer::readIsolationLabels(const edm::ParameterSet& iConfi
labels.push_back(std::make_pair(pat::IsolationKeys(key), *it));
}
}

tokens = edm::vector_transform(
labels, [this](IsolationLabel const& label) { return consumes<edm::ValueMap<T>>(label.second); });
}
tokens = edm::vector_transform(
labels, [this](IsolationLabel const& label) { return consumes<edm::ValueMap<T>>(label.second); });
Expand Down

0 comments on commit d37d279

Please sign in to comment.