try coverity fix 23965, condition checked twice
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Tue, 10 Jun 2014 20:09:32 +0000 (22:09 +0200)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Tue, 10 Jun 2014 20:31:59 +0000 (22:31 +0200)
PWGGA/CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx

index c6e1177..0099f7a 100755 (executable)
@@ -888,7 +888,7 @@ void AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(AliVCluster* clu
   GetEMCALGeometry()->GetAbsCellIdFromEtaPhi(eta0, phi0, absId0);
   GetEMCALGeometry()->GetAbsCellIdFromEtaPhi(eta1, phi1, absId1);
   
-  if(absId1 < 0 || absId1 < 0)
+  if(absId0 < 0 || absId1 < 0)
   {
     //printf("AliAnaInsideClusterInvariantMass::CheckLocalMaximaMCOrigin(() -  Photon hit AbsId: photon0 %d - photon1 %d\n",absId0,absId1);
     return;