MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetSecondaryInCurrentStep

Method GetSecondaryInCurrentStep

source/track/src/G4Step.cc:163–172  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

161
162// --------------------------------------------------------------------
163const std::vector<const G4Track*>* G4Step::GetSecondaryInCurrentStep() const
164{
165 secondaryInCurrentStep->clear();
166 std::size_t nSecondary = fSecondary->size();
167 for(std::size_t i = nSecondaryByLastStep; i < nSecondary; ++i)
168 {
169 secondaryInCurrentStep->push_back((*fSecondary)[i]);
170 }
171 return secondaryInCurrentStep;
172}

Callers 15

StepInfoMethod · 0.80
RecoilEnergyMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
UserSteppingActionMethod · 0.80
ProcessHitsMethod · 0.80
ProcessHitsMethod · 0.80
StepInfoMethod · 0.80

Calls 3

clearMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected