70 return std::numeric_limits<T>::has_infinity
71 && value == std::numeric_limits<T>::infinity();
81 fpTrackingManager = 0;
98 fSelectedAtRestDoItVector(
G4VITProcess::GetMaxProcessIndex(), 0),
99 fSelectedPostStepDoItVector(
G4VITProcess::GetMaxProcessIndex(), 0)
118 fSelectedAtRestDoItVector(right.fSelectedAtRestDoItVector),
119 fSelectedPostStepDoItVector(right.fSelectedPostStepDoItVector)
140 if(
this == &right)
return *
this;
172 std::map<const G4ParticleDefinition*, ProcessGeneralInfo*>::iterator
it;
205 ->GetNavigatorForTracking());
282 if(
this == &rhs)
return *
this;
293 G4cout<<
"G4ITStepProcessor::CloneProcesses: is called"<<
G4endl;
300 theParticleIterator->
reset();
302 while((*theParticleIterator)())
309 G4cerr <<
"ERROR - G4ITStepProcessor::GetProcessNumber()" << G4endl<<
" ProcessManager is NULL for particle = "
312 G4Exception(
"G4ITStepProcessor::GetProcessNumber()",
"ITStepProcessor0001",
329 for(std::size_t i = 0; i < processVector->
size(); ++i)
331 G4VProcess* base_process = (*processVector)[i];
348 G4cout<<
"G4ITStepProcessor::GetProcessNumber: is called track"<<
G4endl;
352 G4cerr <<
"ERROR - G4SteppingManager::GetProcessNumber()" << G4endl<<
" ProcessManager is NULL for particle = "
355 G4Exception(
"G4SteppingManager::GetProcessNumber()",
"ITStepProcessor0002",
360 std::map<const G4ParticleDefinition*, ProcessGeneralInfo*>::iterator
it =
364 G4Exception(
"G4SteppingManager::SetupGeneralProcessInfo()",
365 "ITStepProcessor0003",
379 G4cout <<
"G4ITStepProcessor::GetProcessNumber: #ofAtRest="
391 G4cout <<
"G4ITStepProcessor::GetProcessNumber:#ofAlongStp="
402 G4cout <<
"G4ITStepProcessor::GetProcessNumber: #ofPostStep="
406 if (SizeOfSelectedDoItVector<fpProcessInfo->MAXofAtRestLoops ||
407 SizeOfSelectedDoItVector<fpProcessInfo->MAXofAlongStepLoops ||
408 SizeOfSelectedDoItVector<fpProcessInfo->MAXofPostStepLoops )
410 G4cerr <<
"ERROR - G4ITStepProcessor::GetProcessNumber()" << G4endl
412 <<
" ; is smaller then one of MAXofAtRestLoops= "
416 G4Exception(
"G4ITStepProcessor::GetProcessNumber()",
418 "The array size is smaller than the actual No of processes.");
426 exceptionDescription <<
"No DoIt process found ";
427 G4Exception(
"G4ITStepProcessor::DoStepping",
"ITStepProcessor0005",
442 exceptionDescription <<
"No transportation process found ";
443 G4Exception(
"G4ITStepProcessor::SetupGeneralProcessInfo",
444 "ITStepProcessor0006",
472 errMsg <<
"No IT pointer was attached to the track you try to process.";
474 "ITStepProcessor0007",
490 std::map<const G4ParticleDefinition*, ProcessGeneralInfo*>::iterator
it =
501 "ITStepProcessor0008",
503 exceptionDescription);
550 unsigned int NofInactiveProc=0;
576 if(lifeTime < shortestLifeTime )
578 shortestLifeTime = lifeTime;
597 G4cerr <<
"ERROR - G4ITStepProcessor::InvokeAtRestDoItProcs()" <<
G4endl
598 <<
" No AtRestDoIt process is active!" <<
G4endl;
727 ->GetNavigatorState());
754 ->GetNavigatorState());
759 ->fTouchableHandle()));
761 ->GetNavigatorState());
781 ->GetTouchableHandle()()));
828 G4cerr <<
"ERROR - G4ITStepProcessor::SetInitialStep()" <<
G4endl<<
" Primary particle starting at - "
830 <<
" - is outside of the world volume." <<
G4endl;
831 G4Exception(
"G4ITStepProcessor::SetInitialStep()",
"ITStepProcessor0011",
836 G4cout <<
"WARNING - G4ITStepProcessor::SetInitialStep()" <<
G4endl
837 <<
" Initial track position is outside world! - "
976 ->GetNavigatorState());
988 double proposedTimeStep =
DBL_MAX;
989 G4VProcess* processWithPostStepGivenByTimeStep(0);
1040 G4Exception(
"G4ITStepProcessor::DefinePhysicalStepLength()",
1041 "ITStepProcessor0008",
1043 "This feature is no more supported");
1070 if(fPhysIntLength < fpState->fPhysicalStep)
1113 safetyProposedToAndByProcess,
1121 if(fPhysIntLength < fpState->fPhysicalStep)
1142 exceptionDescription <<
"No transportation process found ";
1143 G4Exception(
"G4ITStepProcessor::DoDefinePhysicalStepLength",
1144 "ITStepProcessor0009",
1146 exceptionDescription);
1164 exceptionDescription <<
"No transportation process found ";
1165 G4Exception(
"G4ITStepProcessor::DoDefinePhysicalStepLength",
1166 "ITStepProcessor0010",
1168 exceptionDescription);
1178 if(fPostStepAtTimeDoItProcTriggered < fpProcessInfo->MAXofPostStepLoops)
1200 if(fPostStepDoItProcTriggered < fpProcessInfo->MAXofPostStepLoops)
1216 if(safetyProposedToAndByProcess < fpState->fProposedSafety)