while ( (digit = (AliPHOSDigit *)nextdigit()) ) { // scan over the list of digits
AliPHOSRecPoint * clu ;
- int * clusterdigitslist[dl->GetEntries()] ;
+ int ** clusterdigitslist = new int * [dl->GetEntries()] ;
Int_t index ;
if (( ( IsInEmc(digit) ) && ( Calibrate(digit->GetAmp() ) > fEmcClusteringThreshold ) ) ||
( ( !IsInEmc(digit) ) && ( Calibrate(digit->GetAmp() ) > fPpsdClusteringThreshold ) ) ) {
} //below energy theshold
+ delete[] clusterdigitslist ;
+
} // while digit
tempodigitslist.Clear() ;