]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
only print in debug mode
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Apr 2011 12:06:56 +0000 (12:06 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Apr 2011 12:06:56 +0000 (12:06 +0000)
PWG4/JetTasks/AliEventPoolManager.cxx

index 681786aecf476da8056885f79678285bea5bc033..27405e108c8993fb8ee8f8b61f4cf36415f82b24 100644 (file)
@@ -104,10 +104,12 @@ Int_t AliEventPool::UpdatePool(TObjArray *trk)
   nTrkC = NTracksInPool();
 
   if (fNTimes==1) {
-    cout << "\nPool " << MultBinIndex() << ", " << ZvtxBinIndex() 
-        << " ready at event "<< iEvent;
-    PrintInfo();
-    cout << endl;
+    if (AliEventPool::fDebug) {
+      cout << "\nPool " << MultBinIndex() << ", " << ZvtxBinIndex() 
+           << " ready at event "<< iEvent;
+      PrintInfo();
+      cout << endl;
+    }
     fNTimes++; // See this message exactly once/pool
   }