\r
//Boundary checks\r
Double_t zvals[2];\r
- if(cond[1] - cond[3] > fZ0 + fZLength || cond[1] + cond[3] < fZ0) return; // We are outside of the chamvber\r
+ if(((cond[1] - cond[3]) >= (fZ0 + fZLength)) || (cond[1] + cond[3]) <= fZ0) return; // We are outside of the chamvber\r
zvals[0] = ((cond[1] - cond[3]) < fZ0) ? fZ0 : (cond[1] - cond[3]);\r
zvals[1] = ((cond[1] + cond[3]) < fZ0 + fZLength) ? (cond[1] + cond[3]) : fZ0 + fZLength - 1.E-3;\r
\r
UChar_t zhi = fNRows - 1 - (UChar_t)(TMath::Abs(fZ0 - zvals[0])/fZLength * fNRows);\r
UChar_t zlo = fNRows - 1 - (UChar_t)(TMath::Abs(fZ0 - zvals[1])/fZLength * fNRows);\r
- \r
- \r
-// AliInfo(Form("yc[%f] zc[%f] dy[%f] dz[%f]", cond[0], cond[1], cond[2], cond[3]));\r
-// PrintClusters();\r
-// AliInfo(Form("zlo[%f] zhi[%f]", zvals[0], zvals[1]));\r
-// AliInfo(Form("zlo[%d] zhi[%d]", zlo, zhi));\r
+\r
+/* AliInfo(Form("yc[%f] zc[%f] dy[%f] dz[%f]", cond[0], cond[1], cond[2], cond[3]));\r
+ PrintClusters();\r
+ AliInfo(Form("zlo[%f] zhi[%f]", zvals[0], zvals[1]));\r
+ AliInfo(Form("zlo[%d] zhi[%d]", zlo, zhi));*/\r
\r
//Preordering in Direction z saves a lot of loops (boundary checked)\r
for(UChar_t z = zlo; z <= zhi; z++){\r