Skip to content

Commit

Permalink
if(prob) changed to if(prob>0.)
Browse files Browse the repository at this point in the history
  • Loading branch information
trocino committed Oct 28, 2014
1 parent 04d4967 commit 2f337f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/MuonReco/src/MuonCocktails.cc
Expand Up @@ -78,7 +78,7 @@ reco::Muon::MuonTrackTypePair muon::tevOptimized(const reco::TrackRef& combined
// is greater than a tuned value. Then compare the
// so-picked track to TPFMS in the same manner using another tuned
// value.
if (prob[4] && prob[3]) {
if (prob[4]>0. && prob[3]>0.) {
if(refit[3].first->pt()>0 && refit[4].first->pt()>0 &&
(refit[4].first->ptError()/refit[4].first->pt()-refit[3].first->ptError()/refit[3].first->pt())<=0)
chosen=4; // dyt
Expand Down

0 comments on commit 2f337f5

Please sign in to comment.