34 #include "RunAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "PrimaryGeneratorAction.hh"
37 #include "HistoManager.hh"
54 :fDetector(det),fKinematic(kin),fRun(nullptr)
93 if ( analysisManager->IsActive() ) {
94 analysisManager->Write();
95 analysisManager->CloseFile();
static G4RunManager * GetRunManager()
void EndOfRunAction(const G4Run *)
virtual G4Run * GenerateRun()
HistoManager * fHistoManager
void BeginOfRunAction(const G4Run *)
The primary generator action class with particle gun.
G4CsvAnalysisManager G4AnalysisManager
PrimaryGeneratorAction * fKinematic
DetectorConstruction * fDetector
void SetRandomNumberStore(G4bool flag)
G4GLOB_DLL std::ostream G4cout
Simple detector construction with a box volume placed in a world.