A bug with expansion of PPSD RPointlist is corrected
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Sep 2000 08:56:17 +0000 (08:56 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Sep 2000 08:56:17 +0000 (08:56 +0000)
PHOS/AliPHOSClusterizerv1.cxx

index 0a4707f..bcd6435 100644 (file)
@@ -212,7 +212,7 @@ void AliPHOSClusterizerv1::MakeClusters(const DigitsList * dl,
        
        // start a new PPSD cluster
        if(fNumberOfPpsdClusters >= ppsdl->GetSize())
-         ppsdl->Expand(2*fNumberOfPpsdClusters) ;
+         ppsdl->Expand(2*fNumberOfPpsdClusters+1) ;
        
        (*ppsdl)[fNumberOfPpsdClusters] = new AliPHOSPpsdRecPoint() ;
        clu =  (AliPHOSPpsdRecPoint *) ppsdl->At(fNumberOfPpsdClusters)  ;