34 #include "RunAction.hh"
36 #include "DetectorConstruction.hh"
37 #include "PrimaryGeneratorAction.hh"
38 #include "RunActionMessenger.hh"
40 #include "EmAcceptance.hh"
52 fDet(det),fKin(kin),fAnalysisManager(nullptr),fRun(nullptr),
53 fVerbose(0), fEdeptrue(1.), fRmstrue(1.), fLimittrue(
DBL_MAX)
99 110,0.,110.*Ekin/
GeV);
102 110,0.,1100.*Ekin/
GeV);
105 nLbin,0.,nLbin*dLradl);
108 nLbin,0.,nLbin*dLradl, 0., 1000.);
111 nLbin,0.,nLbin*dLradl);
121 nRbin,0.,nRbin*dRradl);
124 nRbin,0.,nRbin*dRradl, 0., 1000.);
127 nRbin,0.,nRbin*dRradl);
129 G4double Rmin=0.5*dRradl, Rmax=Rmin+nRbin*dRradl;
160 if (
isMaster) G4Random::showEngineStatus();
176 if (
isMaster) G4Random::showEngineStatus();
void EndOfRunAction(const G4Run *)
void SetHistoName(G4String &val)
RunMessenger * fRunMessenger
virtual G4Run * GenerateRun()
G4ParticleGun * GetParticleGun()
void BeginOfRunAction(const G4Run *)
void SetEdepAndRMS(G4ThreeVector)
G4double GetdRradl() const
G4AnalysisManager * fAnalysisManager
The primary generator action class with particle gun.
G4double GetdLradl() const
void SetVerbose(G4int val)
G4double GetParticleEnergy() const
G4GLOB_DLL std::ostream G4cout
void SetVerbose(G4int val)
PrimaryGeneratorAction * fKin
static constexpr double GeV
DetectorConstruction * fDet
Simple detector construction with a box volume placed in a world.