// copies the digits with energy above thershold and sorts the list
// according to increasing Id number
- cout << "HOLA 1" << endl;
AliPHOSGeometry * geom = AliPHOSGeometry::GetInstance() ;
Int_t relid[4] ;
AliPHOSDigit * digit ;
+
while ( (digit = (AliPHOSDigit *)next()) ) {
}
}
- cout << tl << endl;
-
- TIter next2(tl) ; Int_t iii=0;
- cout << "Entries is " << tl->GetEntries() << tl->GetLast() << endl;
- while ( (digit = (AliPHOSDigit *)next2()) ) {
- cout << iii++ << " " << digit << " Amplitud is " << digit->GetAmp() << endl;
- }
- cout << "HOLA de nuevo " << tl << endl;
- tl->Print();
- cout << "sort" << endl ;
tl->Sort() ;
}
//____________________________________________________________________________
void AliPHOSClusterizerv1::MakeClusters(const DigitsList * dl, RecPointsList * emcl, RecPointsList * ppsdl)
{
+
+
// Fill and sort the working digits list
TObjArray tempodigitslist( dl->GetEntries() ) ;
FillandSort(dl, &tempodigitslist) ;
AliPHOSDigit * digit ;
Bool_t notremoved = kTRUE ;
+
while ( (digit = (AliPHOSDigit *)nextdigit()) ) { // scan over the list of digits
AliPHOSRecPoint * clu ;
clusterdigitslist[iDigitInCluster] = (int* ) digit ;
iDigitInCluster++ ;
tempodigitslist.Remove(digit) ;
+
+
}
else {