Skip to content

Commit

Permalink
Fix definition of TkFilterParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocos committed Feb 15, 2024
1 parent 8eea085 commit aa62917
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,12 +421,8 @@ void PrimaryVertexProducer::fillDescriptions(edm::ConfigurationDescriptions& des
desc.addUntracked<bool>("verbose", false);
{
edm::ParameterSetDescription psd0;
edm::ParameterSetDescription psd1;
TrackFilterForPVFinding::fillPSetDescription(psd1);
edm::ParameterSetDescription psd2;
HITrackFilterForPVFinding::fillPSetDescription(psd2);
psd0.addNode(edm::ParameterDescription<edm::ParameterSetDescription>("TkFilterParameters", psd1, true) xor
edm::ParameterDescription<edm::ParameterSetDescription>("TkFilterParameters", psd2, true));
HITrackFilterForPVFinding::fillPSetDescription(psd0); // extension of TrackFilterForPVFinding
desc.add<edm::ParameterSetDescription>("TkFilterParameters", psd0);
}
desc.add<edm::InputTag>("beamSpotLabel", edm::InputTag("offlineBeamSpot"));
desc.add<edm::InputTag>("TrackLabel", edm::InputTag("generalTracks"));
Expand Down

0 comments on commit aa62917

Please sign in to comment.