X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=EMCAL%2FAliEMCALRecPoint.cxx;h=0b452642fc1f7f350c8ea51166eac5e299434988;hb=4e67b745f9153cfd124fbeb8dd3572928e4347d1;hp=0c3ca403cdea42fffbc262cfe82f8a2d22dc5c26;hpb=829658bf10a2d01d211934a8247fb04eb9b04344;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALRecPoint.cxx b/EMCAL/AliEMCALRecPoint.cxx index 0c3ca403cde..0b452642fc1 100644 --- a/EMCAL/AliEMCALRecPoint.cxx +++ b/EMCAL/AliEMCALRecPoint.cxx @@ -303,8 +303,9 @@ Bool_t AliEMCALRecPoint::AreNeighbours(AliEMCALDigit * digit1, AliEMCALDigit * d rowdiff = TMath::Abs( relid1[0] - relid2[0] ) ; coldiff = TMath::Abs( relid1[1] - relid2[1] ) ; - if (( coldiff <= 1 ) && ( rowdiff <= 1 ) && (coldiff + rowdiff > 0)) - areNeighbours = kTRUE ; + //if (( coldiff <= 1 ) && ( rowdiff <= 1 ) && (coldiff + rowdiff > 0)) + if ((coldiff + rowdiff == 1 )) + areNeighbours = kTRUE ; return areNeighbours; }