Skip to content

Commit

Permalink
ensure that either fsrPhoton_muonIdx OR fsrPhoton_electronIdx are set
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentina committed Dec 2, 2021
1 parent 0e42c26 commit 732cdf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CommonTools/RecoUtils/plugins/LeptonFSRProducer.cc
Expand Up @@ -185,6 +185,7 @@ void LeptonFSRProducer::produce(edm::StreamID streamID, edm::Event& iEvent, cons
// Candidate matching
dRMin = dR;
closestEle = eleIdx;
closestMu = -1; // reset match to muons
}
} // end loop on electrons

Expand Down

0 comments on commit 732cdf9

Please sign in to comment.