Skip to content

Commit

Permalink
requiring loose muons for kf
Browse files Browse the repository at this point in the history
  • Loading branch information
amarini committed Mar 27, 2019
1 parent e098ac9 commit 836e6f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Nero/src/NeroLeptons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,11 @@ int NeroLeptons::analyze(const edm::Event & iEvent)

if (mu.innerTrack().isNull()) continue;
// for kinematic fit. Must have track
++nMuons;
selectedMuons.push_back(mu);
selectedIndex.push_back(leptons.size()-1);
if (mu.isLooseMuon()){
++nMuons;
selectedMuons.push_back(mu);
selectedIndex.push_back(leptons.size()-1);
}
}

// Muon Vertex fitter
Expand Down

0 comments on commit 836e6f3

Please sign in to comment.