34 #include "RunAction.hh"
36 #include "DetectorConstruction.hh"
37 #include "PrimaryGeneratorAction.hh"
38 #include "RunActionMessenger.hh"
39 #include "HistoManager.hh"
85 if (analysis->IsActive()) analysis->OpenFile();
105 G4cout <<
"\n" <<
"Total number of events: "
114 if (analysis->IsActive()) {
116 analysis->CloseFile();
static G4RunManager * GetRunManager()
void SetPrimary(G4ParticleDefinition *particle, G4double energy)
void EndOfRunAction(const G4Run *)
RunMessenger * fRunMessenger
virtual G4Run * GenerateRun()
G4ParticleGun * GetParticleGun()
void SetApplyLimit(G4bool val)
HistoManager * fHistoManager
void BeginOfRunAction(const G4Run *)
G4int GetNumberOfEvent() const
void SetEdepAndRMS(G4ThreeVector)
The primary generator action class with particle gun.
G4CsvAnalysisManager G4AnalysisManager
DetectorConstruction * fDetector
void SetApplyLimit(G4bool)
G4double GetParticleEnergy() const
PrimaryGeneratorAction * fPrimary
G4GLOB_DLL std::ostream G4cout
void SetEdepAndRMS(G4int, G4double, G4double, G4double)
G4ParticleDefinition * GetParticleDefinition() const
Simple detector construction with a box volume placed in a world.