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