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

Method AbortEvent

source/run/src/G4RunManager.cc:723–734  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

721
722// --------------------------------------------------------------------
723void G4RunManager::AbortEvent()
724{
725 // This method is valid only for EventProc state
726 G4ApplicationState currentState = G4StateManager::GetStateManager()->GetCurrentState();
727 if (currentState == G4State_EventProc) {
728 currentEvent->SetEventAborted();
729 eventManager->AbortCurrentEvent();
730 }
731 else {
732 G4cerr << "Event is not in progress. AbortEevnt() ignored." << G4endl;
733 }
734}
735
736// --------------------------------------------------------------------
737void G4RunManager::DefineWorldVolume(G4VPhysicalVolume* worldVol, G4bool topologyIsChanged)

Callers 12

NotifyMethod · 0.45
SetNewValueMethod · 0.45
UserSteppingActionMethod · 0.45
UserSteppingActionMethod · 0.45
UserSteppingActionMethod · 0.45
UserSteppingActionMethod · 0.45
ProcessHitsMethod · 0.45
ProcessHitsMethod · 0.45
ProcessHitsMethod · 0.45
ProcessHitsMethod · 0.45
ProcessHitsMethod · 0.45
UserSteppingActionMethod · 0.45

Calls 2

SetEventAbortedMethod · 0.80
AbortCurrentEventMethod · 0.80

Tested by

no test coverage detected