46 #include "G4UImanager.hh"
57 UI = G4UImanager::GetUIpointer();
73 G4int nEvt = evt->GetEventID();
78 UI->ApplyCommand(
"/random/saveThisEvent");
79 UI->ApplyCommand(
"/tracking/verbose 2");
88 G4cout <<
"EventAction: Event # "
89 << nEvt <<
" started" << G4endl;
98 UI->ApplyCommand(
"/tracking/verbose 0");
100 G4cout <<
"EventAction: Event ended" << G4endl;
std::vector< G4int > fSelectedEvents
virtual void EndOfEventAction(const G4Event *)
EventActionMessenger * fEventMessenger
virtual void BeginOfEventAction(const G4Event *)