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

Method GetNWaitingTrack

source/event/src/G4StackManager.cc:640–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640G4int G4StackManager::GetNWaitingTrack(int i) const
641{
642 if(i==0)
643 {
644 return (G4int)waitingStack->GetNTrack();
645 }
646
647 if(i<=numberOfAdditionalWaitingStacks)
648 {
649 return (G4int)additionalWaitingStacks[i-1]->GetNTrack();
650 }
651
652 return 0;
653}
654
655G4int G4StackManager::GetNPostponedTrack() const
656{

Callers 1

SetNewValueMethod · 0.80

Calls 1

GetNTrackMethod · 0.45

Tested by

no test coverage detected