The primary generator action class with particle gun.
void BeginOfRunAction(const G4Run *)
Definition of the DetectorConstruction class.
virtual G4Run * GenerateRun()
void EndOfRunAction(const G4Run *)
Detector construction class to define materials and geometry.