]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
status message during applying corrections
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Oct 2010 16:06:18 +0000 (16:06 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Oct 2010 16:06:18 +0000 (16:06 +0000)
PWG4/JetTasks/AliUEHist.cxx

index 71e25a7da090cbef69e212d6f3dac82e0a462cad..683965f28dcc351c82ba01ffe186abceb80e7aea 100644 (file)
@@ -524,7 +524,7 @@ void AliUEHist::CorrectTracks(CFStep step1, CFStep step2, Int_t region, TH1* tra
   
   if (!fTrackHist[region])
     return;
-    
+   
   THnSparse* grid = fTrackHist[region]->GetGrid(step1)->GetGrid();
   THnSparse* target = fTrackHist[region]->GetGrid(step2)->GetGrid();
   
@@ -564,6 +564,8 @@ void AliUEHist::CorrectTracks(CFStep step1, CFStep step2, Int_t region, TH1* tra
     target->SetBinContent(bins, value);
     target->SetBinError(bins, error);
   }
+  Printf("AliUEHist::CorrectTracks: Corrected from %f to %f entries. Correction histogram: %f entries (integral: %f)", grid->GetEntries(), target->GetEntries(), (trackCorrection) ? trackCorrection->GetEntries() : -1.0, (trackCorrection) ? trackCorrection->Integral() : -1.0); 
 }
 
 //____________________________________________________________________
@@ -607,6 +609,8 @@ void AliUEHist::CorrectEvents(CFStep step1, CFStep step2, TH1D* eventCorrection,
       }
     }
   }
+  
+  Printf("AliUEHist::CorrectEvents: Corrected from %f to %f entries. Correction histogram: %f entries (integral: %f)", grid->GetEntries(), target->GetEntries(), (eventCorrection) ? eventCorrection->GetEntries() : -1.0, (eventCorrection) ? eventCorrection->Integral() : -1.0); 
 }
 
 //____________________________________________________________________