correct filling of energy and time cluster variable
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Oct 2012 14:45:56 +0000 (14:45 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Oct 2012 14:45:56 +0000 (14:45 +0000)
PWGGA/CaloTrackCorrelations/AliAnaParticleIsolation.cxx

index 94d02cd..875fc64 100755 (executable)
@@ -235,7 +235,7 @@ void AliAnaParticleIsolation::FillPileUpHistograms(Int_t clusterID)
   {
     AliVCluster *cluster = FindCluster(clusters,clusterID,iclus); 
     energy = cluster->E();
-    energy = cluster->GetTOF()*1e9;
+    time   = cluster->GetTOF()*1e9;
   } 
   
   //printf("E %f, time %f\n",energy,time);