void AddProjRange(G4double x)
PrimaryGeneratorAction * fPrimary
DetectorConstruction * fDetector
G4AnalysisManager * fAnalysisManager
void FillHisto(G4int id, G4double x, G4double weight=1.0)
G4double GetOffsetX() const
virtual void Merge(const G4Run *)
The primary generator action class with particle gun.
void SetVerbose(G4int verbose)
Simple detector construction with a box volume placed in a world.