]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - AliGeant4/AliRunAction.cxx
adapted to new design, has to be completed
[u/mrichter/AliRoot.git] / AliGeant4 / AliRunAction.cxx
index c643b531695c026de2eb8f197c94d1289f359224..c42b884d131cab9ea3030106a161a6d0578e8be4 100644 (file)
@@ -19,8 +19,6 @@
 #include <G4Run.hh>
 #include <G4UImanager.hh>
 
-#include <TFile.h>
-
 AliRunAction::AliRunAction()
   : fRunID(-1),
     fVerboseLevel(0)
@@ -79,7 +77,7 @@ void AliRunAction::BeginOfRunAction(const G4Run* run)
     G4UImanager::GetUIpointer()->ApplyCommand("/aliGenerator/set AliGenerator");
   }  
 
-  G4cout << "### Run " << run->GetRunID() << " start." << endl;
+  G4cout << "### Run " << run->GetRunID() << " start." << G4endl;
   fTimer->Start();
 }
 
@@ -98,6 +96,6 @@ void AliRunAction::EndOfRunAction(const G4Run* run)
     G4UImanager::GetUIpointer()->ApplyCommand("/aliEvent/verbose 1");
   }  
 
-  G4cout << "Number of events = " << run->GetNumberOfEvent() 
-         << " " << *fTimer << endl;
+  G4cout << "Time of this run:   " << *fTimer << G4endl;
+  G4cout << "Number of events processed: " << run->GetNumberOfEvent() << G4endl;
 }