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

Method GetProcessType

source/processes/management/src/G4ProcessTableMessenger.cc:392–404  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

390
391// --------------------------------------------------------------------
392G4int G4ProcessTableMessenger::GetProcessType(const G4String& aTypeName) const
393{
394 G4int type = -1;
395 for (G4int idx = 0; idx < NumberOfProcessType ; ++idx )
396 {
397 if (aTypeName == G4VProcess::GetProcessTypeName(G4ProcessType(idx)) )
398 {
399 type = idx;
400 break;
401 }
402 }
403 return type;
404}
405
406// --------------------------------------------------------------------
407void G4ProcessTableMessenger::SetNumberOfProcessType()

Callers 7

DumpInfoMethod · 0.45
SetNewValueMethod · 0.45
~G4ProcessTableMethod · 0.45
FindProcessMethod · 0.45
FindMethod · 0.45
SetProcessActivationMethod · 0.45
RegisterProcessMethod · 0.45

Calls 1

G4ProcessTypeEnum · 0.85

Tested by

no test coverage detected