35 fCumulatedWeightChange ( -1.0 ),
36 fInitialTrackWeight ( -1.0 ),
37 fOperationComplete ( true )
50 proposeForceCondition = Forced;
61 ed <<
" Initial track weight is null ! " <<
G4endl;
62 G4Exception(
" G4BOptnForceFreeFlight::DenyProcessPostStepDoIt(...)",
70 ed <<
" Cumulated weight is null ! " <<
G4endl;
71 G4Exception(
" G4BOptnForceFreeFlight::DenyProcessPostStepDoIt(...)",
76 if ( step->GetPostStepPoint()->GetStepStatus() == fGeomBoundary )
97 forceFinalState =
true;
98 if ( step->GetPostStepPoint()->GetStepStatus() == fGeomBoundary )
104 ed <<
" Initial track weight is null ! " <<
G4endl;
105 G4Exception(
" G4BOptnForceFreeFlight::ApplyFinalStateBiasing(...)",
113 ed <<
" Cumulated weight is null ! " <<
G4endl;
114 G4Exception(
" G4BOptnForceFreeFlight::ApplyFinalStateBiasing(...)",
120 G4double proposedWeight = track->GetWeight();
virtual const G4VBiasingInteractionLaw * ProvideOccurenceBiasingInteractionLaw(const G4BiasingProcessInterface *, G4ForceCondition &)
virtual G4VParticleChange * ApplyFinalStateBiasing(const G4BiasingProcessInterface *, const G4Track *, const G4Step *, G4bool &)
std::ostringstream G4ExceptionDescription
G4BOptnForceFreeFlight(G4String name)
G4ILawForceFreeFlight * fForceFreeFlightInteractionLaw
G4double fCumulatedWeightChange
G4ParticleChange fParticleChange
virtual ~G4BOptnForceFreeFlight()
G4bool GetIsFirstPostStepDoItInterface(G4bool physOnly=true) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
virtual G4bool DenyProcessPostStepDoIt(const G4BiasingProcessInterface *, const G4Track *, const G4Step *, G4double &)
G4bool fOperationComplete
virtual void AlongMoveBy(const G4BiasingProcessInterface *, const G4Step *, G4double)
G4double fInitialTrackWeight