]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSMultReconstructor.cxx
Updated dphi,dtheta windows for trackleter, savannah bug 74741 (Ruben)
[u/mrichter/AliRoot.git] / ITS / AliITSMultReconstructor.cxx
index f2b25b305fe370b48aad02fe3aebe792a92401b5..c67922ac10964848d94c1b79e5fcf17559060381 100644 (file)
@@ -654,7 +654,7 @@ void AliITSMultReconstructor::LoadClusterArrays(TTree* itsClusterTree, int il)
     while(nClusters--) {
       AliITSRecPoint* cluster = (AliITSRecPoint*)itsClusters->UncheckedAt(nClusters);
       if (!cluster) continue;
-      if (fCreateClustersCopy)         new ((*fClArr[il])[nclLayer]) AliITSRecPoint(*cluster);
+      if (fCreateClustersCopy)         cluster = new ((*fClArr[il])[nclLayer]) AliITSRecPoint(*cluster);
       clArr.AddAtAndExpand(cluster,nclLayer++);
       nClustersInChip[ fSPDSeg.GetChipFromLocal(0,cluster->GetDetLocalZ()) ]++; 
     }