Skip to content
Snippets Groups Projects
Commit c1017a60 authored by adrien-matta's avatar adrien-matta
Browse files

* Change Event action printing of event to cout instead of G4cout so

* Update happen during calculation time
parent 41c13425
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ EventAction::~EventAction(){ ...@@ -51,7 +51,7 @@ EventAction::~EventAction(){
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void EventAction::BeginOfEventAction(const G4Event* event){ void EventAction::BeginOfEventAction(const G4Event* event){
if ((event->GetEventID() + 1) % m_printModulo == 0) if ((event->GetEventID() + 1) % m_printModulo == 0)
G4cout << "\rEvent: " << event->GetEventID() + 1 << flush; cout << "\rEvent: " << event->GetEventID() + 1 << flush;
} }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment