43 #include "RunAction.hh"
45 #include "TrackingAction.hh"
48 #include "Analysis.hh"
50 #include "CommandLineParser.hh"
58 #include "DetectorConstruction.hh"
59 #include "PrimaryGeneratorAction.hh"
63 using namespace G4DNAPARSER;
70 fDetector(det),fPrimary(prim),fRun(0)
213 analysisManager->Write();
214 analysisManager->CloseFile();
218 G4cout <<
"================ ROOT FILES HAVE BEEN WRITTEN"
227 G4cout <<
"================ Run is = "
229 G4cout <<
"================ Run type is = "
231 G4cout <<
"================ Event processed = "
233 G4cout <<
"================ Nevent = "
static G4RunManager * GetRunManager()
void SetPrimary(G4ParticleDefinition *particle, G4double energy)
void EndOfRunAction(const G4Run *)
void PrintRunInfo(const G4Run *run)
virtual G4Run * GenerateRun()
G4ParticleGun * GetParticleGun()
void BeginOfRunAction(const G4Run *)
G4int GetNumberOfEvent() const
static RunInitManager * Instance()
The primary generator action class with particle gun.
G4CsvAnalysisManager G4AnalysisManager
CommandLineParser * parser(0)
G4int GetNumberOfEventToBeProcessed() const
DetectorConstruction * fDetector
Command * GetCommandIfActive(const G4String &marker)
G4double GetParticleEnergy() const
PrimaryGeneratorAction * fPrimary
G4GLOB_DLL std::ostream G4cout
RMType GetRunManagerType() const
G4ParticleDefinition * GetParticleDefinition() const
Simple detector construction with a box volume placed in a world.