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

Method SetProcessOrderingToLast

source/processes/management/src/G4ProcessManager.cc:886–903  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

884
885// --------------------------------------------------------------------
886void G4ProcessManager::SetProcessOrderingToLast(
887 G4VProcess *aProcess,
888 G4ProcessVectorDoItIndex idDoIt
889 )
890{
891 SetProcessOrdering(aProcess, idDoIt, ordLast );
892
893 if (isSetOrderingLastInvoked[idDoIt])
894 {
895 G4String anErrMsg = "Set Ordering Last is invoked twice for ";
896 anErrMsg += aProcess->GetProcessName();
897 anErrMsg += " to ";
898 anErrMsg += theParticleType->GetParticleName();
899 G4Exception( "G4ProcessManager::SetProcessOrderingToLast()","ProcMan114",
900 JustWarning,anErrMsg);
901 }
902 isSetOrderingLastInvoked[idDoIt] = true;
903}
904
905// --------------------------------------------------------------------
906G4VProcess* G4ProcessManager::InActivateProcess(G4int index)

Callers 6

ConstructProcessMethod · 0.80
ConstructOpMethod · 0.80
AddLimiterProcessMethod · 0.80
RegisterProcessMethod · 0.80
ConstructOpMethod · 0.80

Calls 2

G4ExceptionFunction · 0.85
GetParticleNameMethod · 0.45

Tested by

no test coverage detected