34 #include "SteppingAction.hh"
36 #include "RunAction.hh"
37 #include "EventAction.hh"
38 #include "HistoManager.hh"
65 if (trackID > 1)
return;
72 G4int subtype = process-> GetProcessSubType();
74 if ((subtype == 2)&&(nbsec == 0)) procName =
"Edep alone";
81 G4AnalysisManager::Instance()->FillH1(1,stepSize);
83 if (nbsec == 0)
return;
87 const std::vector<const G4Track*>* secondaries
90 for (
G4int itr=0; itr<nbsec; itr++) {
91 const G4Track* trk = (*secondaries)[itr];
100 if (ih > 0) G4AnalysisManager::Instance()->FillH1(ih,energy);
G4double GetKineticEnergy() const
const std::vector< const G4Track * > * GetSecondaryInCurrentStep() const
const G4String & GetParticleName() const
const G4ParticleDefinition * GetParticleDefinition() const
void CountProcesses(G4String)
G4double GetStepLength() const
G4int GetNumberOfSecondariesInCurrentStep() const
void TrackLength(G4double step)
G4Track * GetTrack() const
const G4String & GetProcessName() const
G4double GetTotalEnergyDeposit() const
static G4Positron * Positron()
G4StepPoint * GetPostStepPoint() const
void UserSteppingAction(const G4Step *)
static G4Electron * Electron()
void SumEnergyTransfered(const G4VProcess *, G4double)
void SumEnergyDeposited(G4int trackID, G4double edep)
EventAction * fEventaction
const G4VProcess * GetProcessDefinedStep() const
void EnergySpectrumOfSecondaries(G4String particleName, G4double ekin)
G4double GetTotalEnergy() const