34 #include "TrackingAction.hh"
37 #include "PrimaryGeneratorAction.hh"
38 #include "HistoManager.hh"
55 if (trackID == 1) fTrackLength = 0;
82 analysisManager->FillH1(1, tracklen);
92 analysisManager->FillH1(2, pr);
101 analysisManager->FillH1(3, pene);
116 fTrackLength = fTrackLength + tracklen;
121 analysisManager->FillH1(1, fTrackLength);
139 analysisManager->FillH1(2, pr);
155 analysisManager->FillH1(3, pene);
The primary generator action class with particle gun.
G4ParticleDefinition * GetDefinition() const
const G4ThreeVector & GetPosition() const
G4ParticleMomentum GetParticleMomentumDirection() const
G4double GetKineticEnergy() const
void PreUserTrackingAction(const G4Track *)
void PostUserTrackingAction(const G4Track *)
G4double GetTrackLength() const
static G4Positron * PositronDefinition()
static G4RunManager * GetRunManager()
G4double GetPDGMass() const
G4ParticleGun * GetParticleGun()
void AddPenetration(G4double x)
void AddTrackLength(G4double t)
G4double GetPDGCharge() const
G4CsvAnalysisManager G4AnalysisManager
G4Run * GetNonConstCurrentRun() const
void AddProjRange(G4double x)