59 G4cout<<
"G4SteppingManager::GetProcessNumber: is called track="
66 G4cerr <<
"ERROR - G4SteppingManager::GetProcessNumber()" << G4endl
67 <<
" ProcessManager is NULL for particle = "
70 G4Exception(
"G4SteppingManager::GetProcessNumber()",
"Tracking0011",
80 G4cout <<
"G4SteppingManager::GetProcessNumber: #ofAtRest="
89 G4cout <<
"G4SteppingManager::GetProcessNumber:#ofAlongStp="
98 G4cout <<
"G4SteppingManager::GetProcessNumber: #ofPostStep="
106 G4cerr <<
"ERROR - G4SteppingManager::GetProcessNumber()" << G4endl
108 <<
" ; is smaller then one of MAXofAtRestLoops= "
112 G4Exception(
"G4SteppingManager::GetProcessNumber()",
114 "The array size is smaller than the actual No of processes.");
189 G4Exception(
"G4SteppingManager::DefinePhysicalStepLength()",
"Tracking1001",
FatalException,
"This feature no more supported");
193 (*fSelectedPostStepDoItVector)[np] =
Forced;
207 (*fSelectedPostStepDoItVector)[nrest] =
InActivated;
244 safetyProposedToAndByProcess,
262 if(kp == MAXofAlongStepLoops-1)
287 G4double lifeTime, shortestLifeTime;
292 unsigned int NofInactiveProc=0;
307 (*fSelectedAtRestDoItVector)[ri] =
Forced;
311 if(lifeTime < shortestLifeTime ){
312 shortestLifeTime = lifeTime;
322 if(NofInactiveProc==MAXofAtRestLoops){
323 G4Exception(
"G4SteppingManager::InvokeAtRestDoItProcs()",
"Tracking0013",
355 for(
G4int DSecLoop=0 ; DSecLoop< num2ndaries; DSecLoop++){
374 ED <<
"A track without proper process manager is pushed into the track stack.\n"
377 { ED <<
"created by a primary particle generator."; }
384 { ED <<
"creaded by unknown process."; }
386 G4Exception(
"G4SteppingManager::InvokeAtRestDoItProcs()",
"Tracking10051",
394 delete tempSecondaryTrack;
447 for(
G4int DSecLoop=0 ; DSecLoop< num2ndaries; DSecLoop++){
466 ED <<
"A track without proper process manager is pushed into the track stack.\n"
469 { ED <<
"created by a primary particle generator."; }
476 { ED <<
"creaded by unknown process."; }
478 G4Exception(
"G4SteppingManager::InvokeAlongStepDoItProcs()",
"Tracking10051",
486 delete tempSecondaryTrack;
524 G4int Cond = (*fSelectedPostStepDoItVector)[MAXofPostStepLoops-np-1];
545 G4int Cond2 = (*fSelectedPostStepDoItVector)[MAXofPostStepLoops-np1-1];
581 for(
G4int DSecLoop=0 ; DSecLoop< num2ndaries; DSecLoop++){
600 ED <<
"A track without proper process manager is pushed into the track stack.\n"
603 { ED <<
"created by a primary particle generator."; }
610 { ED <<
"creaded by unknown process."; }
612 G4Exception(
"G4SteppingManager::InvokePSDIP()",
"Tracking10053",
620 delete tempSecondaryTrack;
641 G4bool tBelowCutEnergyAndSafety =
false;
644 if (tPtclIdx<0) {
return; }
653 tBelowCutEnergyAndSafety =
true;
664 if( tBelowCutEnergyAndSafety )