- // Recolculate the new center of gravity coordinate and cluster sizes
- // in both directions after grouping of clusters
-
- if(this->fZStop < clJ->ZStop()) this->fZStop = clJ->ZStop();
-
- this->fZ = this->fZ + clJ->Z();
- this->fX = (this->fX + clJ->X())/2.;
- this->fQ = this->fQ + clJ->Q();
-
- this->fXStart = clJ->XStart(); // for a comparison with the next
- this->fXStop = clJ->XStop(); // z column
-
- if(this->fXStartf > clJ->XStartf()) this->fXStartf = clJ->XStartf();
- if(this->fXStopf < clJ->XStopf()) this->fXStopf = clJ->XStopf();
- if(this->fZend < clJ->Zend()) this->fZend = clJ->Zend();
- this->fNClX = this->fXStopf - this->fXStartf + 1;
- (this->fNClZ)++;
-
- return;
-}
-
-//--------------------------------------
-Bool_t AliITSRawClusterSPD::Brother(AliITSRawClusterSPD* cluster,Float_t dz,Float_t dx) {
- // fXStart, fXstop and fZend information is used now instead of dz and dx
- // to check an absent (or a present) of the gap between two pixels in
- // both x and z directions. The increasing order of fZend is used.
-
- Bool_t brother = kFALSE;
- Bool_t test2 = kFALSE;
- Bool_t test3 = kFALSE;
-
- // Diagonal clusters are included:
- if(fXStop >= (cluster->XStart() -1) && fXStart <= (cluster->XStop()+1)) test2 = kTRUE;
-
- // Diagonal clusters are excluded:
- // if(fXStop >= cluster->XStart() && fXStart <= cluster->XStop()) test2 = kTRUE;
- if(cluster->Zend() == (fZend + 1)) test3 = kTRUE;
- if(test2 && test3) {
- // cout<<"test 2,3 0k, brother = true "<<endl;
- return brother = kTRUE;
- }
- return brother;
+ // Recolculate the new center of gravity coordinate and cluster sizes
+ // in both directions after grouping of clusters
+
+ if(this->fZStop < clJ->ZStop()) this->fZStop = clJ->ZStop();
+ this->fZ = this->fZ + clJ->Z();
+ this->fX = (this->fX + clJ->X())/2.;
+ this->fQ = this->fQ + clJ->Q();
+ this->fXStart = clJ->XStart(); // for a comparison with the next
+ this->fXStop = clJ->XStop(); // z column
+ if(this->fZend < clJ->Zend()) this->fZend = clJ->Zend();
+ this->fNClX = this->fXStop - this->fXStart + 1;
+ (this->fNClZ)++;
+
+ return;