reset transient cluster usage info in the beginning, no need to UnloadClusters
authorshahoian <ruben.shahoyan@cern.ch>
Wed, 8 Oct 2014 10:37:38 +0000 (12:37 +0200)
committershahoian <ruben.shahoyan@cern.ch>
Wed, 8 Oct 2014 10:37:46 +0000 (12:37 +0200)
ITS/UPGRADE/AliITSURecoLayer.cxx
ITS/UPGRADE/AliITSUTrackerGlo.cxx

index 2af9ff1..f292b76 100644 (file)
@@ -393,6 +393,7 @@ void AliITSURecoLayer::ProcessClusters(Int_t mode)
   AliITSURecoSens* curSens = 0;
   for (int icl=0;icl<ncl;icl++) {
     AliITSUClusterPix* cl = (AliITSUClusterPix*) fClusters->UncheckedAt(icl);
+    cl->SetRecoInfo(0);
     cl->GoToFrameTrk();
     int vID = cl->GetVolumeId();
     if (vID<curSensID) {AliFatal("Clusters are not sorted in increasing sensorID");}
index 6998a1a..27c9c53 100644 (file)
@@ -445,12 +445,14 @@ void AliITSUTrackerGlo::UnloadClusters()
   //
   // Remove clusters from the memory 
   //
+  /*
   AliITSURecoDet *det=fReconstructor->GetITSInterface();
   Int_t nlayers=det->GetNLayersActive();
   for (Int_t i=0; i<nlayers; i++) {
       TClonesArray *clusters=*(det->GetLayerActive(i)->GetClustersAddress());
       clusters->Delete();
   }
+  */
 } 
 
 //_________________________________________________________________________