Skip to content

Commit 6670a3b

Browse files
authored
Merge pull request #48505 from jsamudio/dev_LHEPtFilter
Fix fillDescriptions default for LHEPtFilter
2 parents 35094a7 + 8913571 commit 6670a3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GeneratorInterface/GenFilters/plugins/LHEPtFilter.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ bool LHEPtFilter::filter(edm::StreamID, edm::Event& iEvent, const edm::EventSetu
123123
void LHEPtFilter::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
124124
edm::ParameterSetDescription desc;
125125
desc.add<bool>("isScalar", false); // default is false
126+
descriptions.addDefault(desc);
126127
}
127128

128129
//define this as a plug-in

0 commit comments

Comments
 (0)