38#include "G4EventManager.hh"
39#include "G4Trajectory.hh"
40#include "G4TrajectoryContainer.hh"
41#include "G4VVisManager.hh"
43#include "Randomize.hh"
48 : fRunaction(runAction)
64 G4int evtNb = evt->GetEventID();
67 G4cout <<
"<<< Event " << evtNb <<
" started." << G4endl;
72#include "G4Threading.hh"
77 G4cout <<
"<<< Event " << evt->GetEventID() <<
" ended." << G4endl;
81 std::ostringstream os;
82 os<<
"endOfEvent_"<<G4Threading::G4GetThreadId()<<
".rndm";
83 G4Random::saveEngineStatus(os.str().c_str());
91 return fpEventManager->GetConstCurrentEvent()->GetEventID();
Definition of the F04EventActionMessenger class.
Definition of the F04EventAction class.
Definition of the F04RunAction class.
F04EventActionMessenger * fEventMessenger
~F04EventAction() override
F04RunAction * fRunaction
F04EventAction(F04RunAction *)
void BeginOfEventAction(const G4Event *) override
void EndOfEventAction(const G4Event *) override
void SetEventVerbose(G4int)