Skip to content

Commit

Permalink
update definition place
Browse files Browse the repository at this point in the history
  • Loading branch information
menglu21 committed Apr 12, 2023
1 parent 4fa3e95 commit 2d03924
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions PhysicsTools/NanoAOD/plugins/LeptonInJetProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ void LeptonInJetProducer<T>::produce(edm::StreamID streamID, edm::Event &iEvent,
std::vector<int> vmuIdx3SJ;
std::vector<int> veleIdx3SJ;

int ele_pfmatch_index = -1;
int mu_pfmatch_index = -1;

// Find leptons in jets
for (unsigned int ij = 0; ij < nJet; ij++) {
const pat::Jet &itJet = (*srcJet)[ij];
Expand All @@ -91,8 +88,8 @@ void LeptonInJetProducer<T>::produce(edm::StreamID streamID, edm::Event &iEvent,
fastjet::PseudoJet p(d->px(), d->py(), d->pz(), d->energy());
lClusterParticles.emplace_back(p);
}
ele_pfmatch_index = -1;
mu_pfmatch_index = -1;
int ele_pfmatch_index = -1;
int mu_pfmatch_index = -1;

// match to leading and closest electron or muon
double dRmin(0.8), dRele(999), dRmu(999), dRtmp(999);
Expand Down

0 comments on commit 2d03924

Please sign in to comment.