From 7b108480e58684d3216d04a40f663e1133c9d63e Mon Sep 17 00:00:00 2001 From: gconesab Date: Mon, 16 Sep 2013 15:37:36 +0000 Subject: [PATCH] Allow local maxima in diagonal to be 2 local maxima instead of 1 --- PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx b/PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx index 25e2bcecc58..f6f2013193b 100755 --- a/PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx +++ b/PWG/CaloTrackCorrBase/AliCalorimeterUtils.cxx @@ -519,7 +519,8 @@ Bool_t AliCalorimeterUtils::AreNeighbours(const TString calo, rowdiff = TMath::Abs( irow1 - irow2 ) ; coldiff = TMath::Abs( icol1 - icol2 ) ; - if (( coldiff <= 1 ) && ( rowdiff <= 1 ) && (coldiff + rowdiff > 0)) + //if (( coldiff <= 1 ) && ( rowdiff <= 1 ) && (coldiff + rowdiff > 0)) + if ((coldiff + rowdiff == 1 )) areNeighbours = kTRUE ; return areNeighbours; -- 2.43.0