]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Printing the energy summary only in debug mode
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Feb 2004 18:48:39 +0000 (18:48 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Feb 2004 18:48:39 +0000 (18:48 +0000)
STEER/AliMC.cxx

index c245bf863f3a6dc1214275bc2f2aade91a7a3b06..f07a2bfee7a6181fb0f87193e5bc511690b5777a 100644 (file)
@@ -215,8 +215,10 @@ void AliMC::FinishRun()
   fGenerator->FinishRun();
 
   //Output energy summary tables
-  if (GetDebug()) Info("FinishRun"," EnergySummary()");
-  EnergySummary();
+  if (GetDebug()) {
+    Info("FinishRun"," EnergySummary()");
+    EnergySummary();
+  }
 
 }