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 G4Gamma * Definition()
static constexpr double keV
void UserSteppingAction(const G4Step *)
G4SteppingManager * fpSteppingManager
static BrachyAnalysisManager * GetInstance()
std::vector< G4Track * > G4TrackVector