38 #include "RunAction.hh"
39 #include "PrimaryGeneratorAction.hh"
41 #include "DetectorConstruction.hh"
84 if (nofEvents == 0)
return;
88 const Run* chem4Run =
static_cast<const Run*
>(run);
97 <<
"--------------------End of Global Run-----------------------"
99 <<
" The run has " << nofEvents <<
" events "
105 G4cout <<
"Number of events recorded by the species scorer = "
115 <<
"--------------------End of Local Run------------------------"
117 <<
" The run has " << nofEvents <<
" events"
122 <<
" Total energy deposited in the world volume : " << sumDose/
eV <<
" eV"
124 <<
" ------------------------------------------------------------"
static G4RunManager * GetRunManager()
void EndOfRunAction(const G4Run *)
virtual G4Run * GenerateRun()
void BeginOfRunAction(const G4Run *)
G4int GetNumberOfEvent() const
virtual void OutputAndClear()
G4VPrimitiveScorer * GetPrimitiveScorer() const
static constexpr double eV
void SetRandomNumberStore(G4bool flag)
int GetNumberOfRecordedEvents() const
G4GLOB_DLL std::ostream G4cout
G4double GetSumDose() const