34 #include "RunAction.hh" 36 #include "DetectorConstruction.hh" 37 #include "PrimaryGeneratorAction.hh" 38 #include "HistoManager.hh" 52 fDetector(det), fPrimary(prim), fRun(0), fHistoManager(0)
79 if (
isMaster) G4Random::showEngineStatus();
92 if ( analysisManager->IsActive() ) {
93 analysisManager->OpenFile();
105 if ( analysisManager->IsActive() ) {
106 analysisManager->Write();
107 analysisManager->CloseFile();
111 if (
isMaster) G4Random::showEngineStatus();
PrimaryGeneratorAction class.
void BeginOfRunAction(const G4Run *)
void SetRandomNumberStore(G4bool flag)
virtual G4Run * GenerateRun()
DetectorConstruction * fDetector
HistoManager * fHistoManager
G4double GetParticleEnergy() const
void EndOfRunAction(const G4Run *)
ExG4HbookAnalysisManager G4AnalysisManager
static G4RunManager * GetRunManager()
G4ParticleGun * GetParticleGun()
Detector construction class to define materials and geometry.
void SetPrimary(G4ParticleDefinition *particle, G4double energy)
G4ParticleDefinition * GetParticleDefinition() const
PrimaryGeneratorAction * fPrimary