68 G4Track* theTrack = aStep-> GetTrack();
71 if(theTrack-> GetTrackStatus() ==
fAlive) {
return;}
75 G4TrackVector* fSecondary = steppingManager -> GetfSecondary();
77 for(
size_t lp1=0;lp1<(*fSecondary).size(); lp1++)
84 G4String process = (*fSecondary)[lp1]-> GetCreatorProcess()-> GetProcessName();
88 if (process ==
"RadioactiveDecay")
94 analysis -> FillPrimaryParticleHistogram(energy/
keV);
static BrachyAnalysisManager * GetInstance()
G4SteppingManager * fpSteppingManager
std::vector< G4Track * > G4TrackVector
G4double energy(const ThreeVector &p, const G4double m)
static constexpr double keV
void UserSteppingAction(const G4Step *)
static G4Gamma * Definition()