57 : theStepLength(0.), theInitialTrajState(0), theStepN(0), theG4Track(0)
86 message <<
"Energy too low to be propagated: "
88 G4Exception(
"G4ErrorPropagator::Propagate()",
"GEANT4e-Notification",
98 G4cout <<
" =====> starting GEANT4E tracking for "
109 G4cout <<
" G4ErrorPropagator::Propagate initialTS ";
143 *currentTS = *currentTS_FREE;
147 message <<
"Particle does not reach target: " << *currentTS;
148 G4Exception(
"G4ErrorPropagator::Propagate()",
"GEANT4e-Notification",
160 G4cout <<
" G4ErrorPropagator: propagation ended " <<
G4endl;
191 message <<
"Called before initialization is done for this track!";
192 G4Exception(
"G4ErrorPropagator::PropagateOneStep()",
194 "Please call G4ErrorPropagatorManager::InitGeant4e().");
206 message <<
"Energy too low to be propagated: "
208 G4Exception(
"G4ErrorPropagator::PropagateOneStep()",
216 G4cout <<
" =====> starting GEANT4E tracking for "
222 G4cout <<
" G4ErrorPropagator::Propagate initialTS ";
266 message <<
"Particle type not defined: " << partType;
267 G4Exception(
"G4ErrorPropagator::InitG4Track()",
"InvalidSetup",
295 G4cout <<
" G4ErrorPropagator new track of energy: "
305 G4Exception(
"G4ErrorPropagator::InitG4Track()",
"InvalidSetup",
344 if( ierr != 0 ) {
break; }
369 <<
"@@@@@@@@@@@@@@@@@@@@@@@@@ NEW STEP " <<
G4endl;
393 G4cout <<
" transportation determined by geant4e " <<
G4endl;
402 if( static_cast<G4ErrorGeomVolumeTarget*>( target )
420 G4cout <<
" propagating error " << *currentTS_FREE <<
G4endl;
433 currentTS_FREE->
Update( cTrack );
440 message <<
"Error returned: " << ierr;
443 "Geant4 tracking will be stopped !");
471 message <<
"Wrong trajectory state: " << currentTS->
GetTSType();
472 G4Exception(
"G4ErrorPropagator::InitFreeTrajState()",
"InvalidState",
475 return currentTS_FREE;
490 G4cout <<
" G4ErrorPropagator::Propagate: final state "
499 currentTS = currentTS_FREE;
505 G4Exception(
"G4ErrorPropagator:GetFinalTrajState()",
507 "Using a G4ErrorSurfaceTrajState with wrong target");
512 *(static_cast<G4ErrorFreeTrajState*>(currentTS_FREE)),
517 G4cout << currentTS <<
" returning tssd " << *currentTS <<
G4endl;
520 delete currentTS_FREE;
529 G4bool lastG4eStep =
false;
536 G4cout <<
" G4ErrorPropagator::CheckIfLastStep G4ErrorState= "
550 G4cout <<
" G4ErrorPropagator::CheckIfLastStep " << lastG4eStep
564 message <<
"Track extrapolated until end of World" <<
G4endl
565 <<
"without finding the defined target!";
566 G4Exception(
"G4ErrorPropagator::CheckIfLastStep()",
574 message <<
"Track extrapolated until end of World" <<
G4endl
575 <<
"without finding the defined target.";
576 G4Exception(
"G4ErrorPropagator::CheckIfLastStep()",
586 message <<
"Track extrapolated until energy is exhausted" <<
G4endl
587 <<
"without finding the defined target!";
588 G4Exception(
"G4ErrorPropagator::CheckIfLastStep()",
596 message <<
"Track extrapolated until energy is exhausted" <<
G4endl
597 <<
"without finding the defined target.";
598 G4Exception(
"G4ErrorPropagator::CheckIfLastStep()",
608 G4cout <<
" return CheckIfLastStep " << lastG4eStep <<
G4endl;
621 if( fpUserTrackingAction != 0 )
624 ->PreUserTrackingAction((fpTrack) );
634 if( fpUserTrackingAction != 0 )
637 ->PostUserTrackingAction((fpTrack) );