34 #include "TrackingAction.hh"
37 #include "PrimaryGeneratorAction.hh"
38 #include "HistoManager.hh"
67 analysisManager->FillH1(3, tracklen);
69 analysisManager->FillH1(6, tracklen);
77 analysisManager->FillH1(5, pr);
84 G4double stepSize = tracklen/nbOfSteps;
The primary generator action class with particle gun.
G4ParticleDefinition * GetDefinition() const
const G4ThreeVector & GetPosition() const
G4ParticleMomentum GetParticleMomentumDirection() const
G4int GetCurrentStepNumber() const
void PostUserTrackingAction(const G4Track *)
G4double GetTrackLength() const
static G4RunManager * GetRunManager()
G4ParticleGun * GetParticleGun()
void AddTrackLength(G4double t)
void AddStepSize(G4int nb, G4double st)
G4double GetPDGCharge() const
G4CsvAnalysisManager G4AnalysisManager
G4Run * GetNonConstCurrentRun() const
void AddProjRange(G4double x)