Skip to content

Commit

Permalink
gcc7 compilation warning fix in RecoMuon/MuonIsolation package
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Aug 2, 2017
1 parent e41a587 commit f7d6808
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 f7d6808

Please sign in to comment.