35 fExpInteractionLaw(
"expLawFor"+name)
54 ed <<
" Negative probability for `" <<
GetName() <<
"' p = " << niProba <<
" distance = " << distance <<
" !!! " <<
G4endl;
55 G4Exception(
" G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt(...)",
65G4double G4ILawCommonTruncatedExp::SampleInteractionLength()
68 return fInteractionDistance;
71G4double G4ILawCommonTruncatedExp::UpdateInteractionLengthForStep(
G4double truePathLength)
74 return fInteractionDistance;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
virtual ~G4ILawCommonTruncatedExp()
G4ILawCommonTruncatedExp(G4String name="expSharedForceInteractionLaw")
virtual G4double ComputeEffectiveCrossSectionAt(G4double length) const
virtual G4double ComputeNonInteractionProbabilityAt(G4double length) const
virtual G4double SampleInteractionLength()
virtual G4double UpdateInteractionLengthForStep(G4double truePathLength)
virtual G4double ComputeNonInteractionProbabilityAt(G4double length) const
virtual G4double ComputeEffectiveCrossSectionAt(G4double length) const
const G4String & GetName() const