Minor things
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 20:22:28 +0000 (20:22 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 20:22:28 +0000 (20:22 +0000)
PWG2/FORWARD/analysis2/AliCentralCorrAcceptance.cxx

index 6b1b763..a55323d 100644 (file)
@@ -221,7 +221,7 @@ AliCentralCorrAcceptance::Browse(TBrowser* b)
 }
 //____________________________________________________________________
 void
-AliCentralCorrAcceptance::Print(Option_t* option) const
+AliCentralCorrAcceptance::Print(Option_t* /* option */) const
 {
   // 
   // Print this object 
@@ -229,11 +229,16 @@ AliCentralCorrAcceptance::Print(Option_t* option) const
   // Parameters:
   //    option 
   //  
-  std::cout << "  Acceptance correction due to dead channels" << std::endl;
-  std::cout << "   " << std::flush;  
-  fArray.Print(option);
-  std::cout << "   " << std::flush;  
-  fVertexAxis.Print(option);
+  std::cout << "  Acceptance correction due to dead channels" 
+           << "   # of vertex bins: "  << fVertexAxis.GetNbins() << "\n"
+           << "   Vertex range:     [" << fVertexAxis.GetXmin() 
+           << "," << fVertexAxis.GetXmax() << "]\n" 
+           << "   Histograms:\n"
+           << "    ";
+  TIter next(&fArray);
+  TObject* o = 0;
+  while ((o = next())) std::cout << o->GetName() << " ";
+  std::cout << std::endl;
 }
     
 //____________________________________________________________________