]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTracker.cxx
Merge remote-tracking branch 'origin/master' into mergingFlat
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTracker.cxx
index 88d620b443fef5bcdb768320e2cc07bc6e927158..54d371b5eea94bbb8c6973f7195e4152ace91e70 100644 (file)
@@ -219,7 +219,7 @@ Int_t AliEMCALTracker::LoadClusters(TTree *cTree)
   clusters->Delete();
   delete clusters;
 
-  AliInfo(Form("Collected %d RecPoints from Tree", fClusters->GetEntries()));
+  AliDebug(1,Form("Collected %d RecPoints from Tree", fClusters->GetEntries()));
   
   return 0;
 }
@@ -245,7 +245,7 @@ Int_t AliEMCALTracker::LoadClusters(AliESDEvent *esd)
     fClusters->AddLast(matchCluster);
   }
   
-  AliInfo(Form("Collected %d clusters from ESD", fClusters->GetEntries()));
+  AliDebug(1,Form("Collected %d clusters from ESD", fClusters->GetEntries()));
   return 0;
 }
 //
@@ -289,7 +289,8 @@ Int_t AliEMCALTracker::LoadTracks(AliESDEvent *esd)
     if (TMath::Abs(esdTrack->Eta())>0.9 || phi <= 10 || phi >= 250) continue;
     fTracks->AddLast(esdTrack);
   }
-  AliInfo(Form("Collected %d tracks", fTracks->GetEntries()));
+  
+  AliDebug(1,Form("Collected %d tracks", fTracks->GetEntries()));
   return 0;
 }
 //
@@ -336,12 +337,11 @@ Int_t AliEMCALTracker::PropagateBack(AliESDEvent* esd)
   }
        
   // step 1: collect clusters
-  Int_t okLoadClusters, nClusters;
-  
+  Int_t okLoadClusters = 0;  
   if (!fClusters || (fClusters && fClusters->IsEmpty()))
     okLoadClusters = LoadClusters(esd);
   
-  nClusters = fClusters->GetEntries();
+  Int_t nClusters = fClusters->GetEntries();
                
   // step 2: collect ESD tracks
   Int_t nTracks, okLoadTracks;