Skip to content

Commit

Permalink
Merge pull request #20022 from mrodozov/cmp-wngs-fix-gcc7-RecoMuon/Mu…
Browse files Browse the repository at this point in the history
…onIsolation

gcc7 compilation warning fix in RecoMuon/MuonIsolation package
  • Loading branch information
cmsbuild committed Aug 3, 2017
2 parents d6c4a99 + f7d6808 commit bde6c50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecoMuon/MuonIsolation/plugins/MuonPFIsolationWithConeVeto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ bool MuonPFIsolationWithConeVeto::isInIsolationCone(const reco::CandidatePtr& ph
break;
}
}
result *= ( is_vertex_allowed );
result = result && ( is_vertex_allowed );
}
result *= aspacked->pt() > _vetoThreshold && deltar2 > _vetoConeSize2 && deltar2 < _coneSize2 ;
result = result &&( aspacked->pt() > _vetoThreshold && deltar2 > _vetoConeSize2 && deltar2 < _coneSize2 );
} else if ( aspf.isNonnull() && aspf.get() ) {
result *= aspf->pt() > _vetoThreshold && deltar2 > _vetoConeSize2 && deltar2 < _coneSize2 ;
result = result && ( aspf->pt() > _vetoThreshold && deltar2 > _vetoConeSize2 && deltar2 < _coneSize2 );
} else {
throw cms::Exception("InvalidIsolationInput")
<< "The supplied candidate to be used as isolation "
Expand Down

0 comments on commit bde6c50

Please sign in to comment.