PrimaryGeneratorAction class.
G4double GetEnergyFromCSDARange(G4double, G4ParticleDefinition *, G4Material *, G4double)
void BeginOfRunAction(const G4Run *)
DetectorConstruction * fDetector
HistoManager * fHistoManager
void EndOfRunAction(const G4Run *)
void AddChargedSecondary(G4double ekin)
void AddEnergyDeposit(G4double edep)
void AddTrackLength(G4double step)
G4double GetEnergyFromRestrictedRange(G4double, G4ParticleDefinition *, G4Material *, G4double)
void AddNeutralSecondary(G4double ekin)
Detector construction class to demonstrate various ways of placement.
PrimaryGeneratorAction * fPrimary