Skip to content

Commit

Permalink
Merge pull request #41372 from AWildridge/bugfix-lhe-generic-mass-filter
Browse files Browse the repository at this point in the history
Fixed bug. Missing edm::InputTag src default value in fillDescriptions
  • Loading branch information
cmsbuild authored May 2, 2023
2 parents ed31a4c + e791e12 commit 85b455d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ bool LHEGenericMassFilter::filter(edm::StreamID iID, edm::Event& iEvent, edm::Ev
// ------------ method fills 'descriptions' with the allowed parameters for the module ------------
void LHEGenericMassFilter::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
edm::ParameterSetDescription desc;
desc.add<edm::InputTag>("src", edm::InputTag("externalLHEProducer"));
desc.add<int>("NumRequired", 1);
desc.add<vector<int>>("ParticleID", std::vector<int>{1});
desc.add<double>("MinMass", 0.0);
Expand Down

0 comments on commit 85b455d

Please sign in to comment.