43 for(
auto i = begin(); i != end(); ++i )
45 delete (*i).GetTrack();
46 delete (*i).GetTrajectory();
53 for(
auto i = begin(); i != end(); ++i)
55 aStack->push_back(*i);
71 for (
auto i = cbegin(); i != cend(); ++i )
73 totalEnergy += (*i).GetTrack()->GetDynamicParticle()->GetTotalEnergy();
void PushToStack(const G4StackedTrack &aStackedTrack)
void TransferTo(G4TrackStack *aStack)
G4double getTotalEnergy(void) const
G4StackedTrack PopFromStack()