43 return fForceFreeFlightInteractionLaw;
50 if ( fInitialTrackWeight <=
DBL_MIN )
53 ed <<
" Initial track weight is null ! " <<
G4endl;
54 G4Exception(
" G4BOptnForceFreeFlight::DenyProcessPostStepDoIt(...)",
59 if ( fCumulatedWeightChange <=
DBL_MIN )
62 ed <<
" Cumulated weight is null ! " <<
G4endl;
63 G4Exception(
" G4BOptnForceFreeFlight::DenyProcessPostStepDoIt(...)",
70 if ( proposedWeight <=
DBL_MIN ) proposedWeight = fCumulatedWeightChange * fInitialTrackWeight;
71 else proposedWeight *= fCumulatedWeightChange;
79 fCumulatedWeightChange *= weightChange;
virtual const G4VBiasingInteractionLaw * ProvideOccurenceBiasingInteractionLaw(const G4BiasingProcessInterface *)
std::ostringstream G4ExceptionDescription
G4BOptnForceFreeFlight(G4String name)
G4StepStatus GetStepStatus() const
virtual ~G4BOptnForceFreeFlight()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
virtual G4bool DenyProcessPostStepDoIt(const G4BiasingProcessInterface *, const G4Track *, const G4Step *, G4double &)
G4StepPoint * GetPostStepPoint() const
virtual void AlongMoveBy(const G4BiasingProcessInterface *, const G4Step *, G4double)