- if (fN==0) {fIndex[0]=index; fClusters[fN++]=c; return;}
- Int_t i=Find(c->GetY());
- memmove(fClusters+i+1 ,fClusters+i,(fN-i)*sizeof(AliTRDcluster*));
- memmove(fIndex +i+1 ,fIndex +i,(fN-i)*sizeof(UInt_t));
- fIndex[i]=index; fClusters[i]=c; fN++;
+
+ if (fN == 0) {
+ fIndex[0] = index;
+ fClusters[fN++] = c;
+ return;
+ }
+
+ Int_t i = Find(c->GetY());
+
+ memmove(fClusters+i+1,fClusters+i,(fN-i)*sizeof(AliTRDcluster*));
+ memmove(fIndex +i+1,fIndex +i,(fN-i)*sizeof(UInt_t));
+
+ fIndex[i] = index;
+ fClusters[i] = c;
+ fN++;
+