From aa629174257e7995444a5d6b98c5ca0504006dfc Mon Sep 17 00:00:00 2001 From: Fabio Cossutti Date: Tue, 6 Feb 2024 09:33:05 +0100 Subject: [PATCH] Fix definition of TkFilterParameters --- .../plugins/PrimaryVertexProducer.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/RecoVertex/PrimaryVertexProducer/plugins/PrimaryVertexProducer.cc b/RecoVertex/PrimaryVertexProducer/plugins/PrimaryVertexProducer.cc index e6dfcdd3636de..f180e97cddb3b 100644 --- a/RecoVertex/PrimaryVertexProducer/plugins/PrimaryVertexProducer.cc +++ b/RecoVertex/PrimaryVertexProducer/plugins/PrimaryVertexProducer.cc @@ -421,12 +421,8 @@ void PrimaryVertexProducer::fillDescriptions(edm::ConfigurationDescriptions& des desc.addUntracked("verbose", false); { edm::ParameterSetDescription psd0; - edm::ParameterSetDescription psd1; - TrackFilterForPVFinding::fillPSetDescription(psd1); - edm::ParameterSetDescription psd2; - HITrackFilterForPVFinding::fillPSetDescription(psd2); - psd0.addNode(edm::ParameterDescription("TkFilterParameters", psd1, true) xor - edm::ParameterDescription("TkFilterParameters", psd2, true)); + HITrackFilterForPVFinding::fillPSetDescription(psd0); // extension of TrackFilterForPVFinding + desc.add("TkFilterParameters", psd0); } desc.add("beamSpotLabel", edm::InputTag("offlineBeamSpot")); desc.add("TrackLabel", edm::InputTag("generalTracks"));