3 #include <Geant4/G4StepStatus.hh>
14 if (stepstatus.empty())
17 stepstatus[fWorldBoundary] =
"fWorldBoundary";
18 stepstatus[fGeomBoundary] =
"fGeomBoundary";
19 stepstatus[fAtRestDoItProc] =
"fAtRestDoItProc";
20 stepstatus[fAlongStepDoItProc] =
"fAlongStepDoItProc";
21 stepstatus[fPostStepDoItProc] =
"fPostStepDoItProc";
22 stepstatus[fUserDefinedLimit] =
"fUserDefinedLimit";
23 stepstatus[fExclusivelyForcedProc] =
"fExclusivelyForcedProc";
24 stepstatus[fUndefined] =
"fUndefined";
26 if (stepstatus.find(istatus) == stepstatus.end())
28 std::cout <<
"could not find status " << istatus <<
" in stepstatus map" << std::endl;
31 return stepstatus[istatus];