Geant4-11
|
#include <G4ILawTruncatedExp.hh>
Public Member Functions | |
virtual G4double | ComputeEffectiveCrossSectionAt (G4double length) const |
virtual G4double | ComputeNonInteractionProbabilityAt (G4double length) const |
G4ILawTruncatedExp (G4String name="expForceInteractionLaw") | |
G4double | GetInteractionDistance () const |
G4double | GetMaximumDistance () const |
const G4String & | GetName () const |
G4double | GetSampledInteractionLength () const |
virtual G4bool | IsEffectiveCrossSectionInfinite () const |
virtual G4bool | IsSingular () const |
G4double | Sample () |
virtual G4double | SampleInteractionLength () |
void | SetForceCrossSection (G4double xs) |
void | SetMaximumDistance (G4double d) |
G4double | UpdateForStep (G4double truePathLength) |
virtual G4double | UpdateInteractionLengthForStep (G4double truePathLength) |
virtual | ~G4ILawTruncatedExp () |
Private Attributes | |
G4double | fCrossSection |
G4double | fCrossSectionDefined |
G4double | fInteractionDistance |
G4bool | fIsSingular |
G4double | fMaximumDistance |
G4String | fName |
G4double | fSampledInteractionLength |
Definition at line 45 of file G4ILawTruncatedExp.hh.
G4ILawTruncatedExp::G4ILawTruncatedExp | ( | G4String | name = "expForceInteractionLaw" | ) |
Definition at line 31 of file G4ILawTruncatedExp.cc.
|
virtual |
Definition at line 39 of file G4ILawTruncatedExp.cc.
Implements G4VBiasingInteractionLaw.
Definition at line 58 of file G4ILawTruncatedExp.cc.
References fCrossSection, fCrossSectionDefined, fMaximumDistance, G4Exception(), and JustWarning.
Referenced by G4ILawCommonTruncatedExp::ComputeEffectiveCrossSectionAt().
Implements G4VBiasingInteractionLaw.
Definition at line 73 of file G4ILawTruncatedExp.cc.
References fCrossSection, fCrossSectionDefined, fMaximumDistance, G4Exception(), and JustWarning.
Referenced by G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt().
|
inline |
Definition at line 66 of file G4ILawTruncatedExp.hh.
References fInteractionDistance.
Referenced by G4ILawCommonTruncatedExp::GetInteractionDistance().
|
inline |
Definition at line 65 of file G4ILawTruncatedExp.hh.
References fMaximumDistance.
Referenced by G4ILawCommonTruncatedExp::GetMaximumDistance().
|
inlineinherited |
Definition at line 67 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fName.
Referenced by G4BiasingProcessInterface::AlongStepDoIt(), G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt(), UpdateInteractionLengthForStep(), and G4InteractionLawPhysical::UpdateInteractionLengthForStep().
|
inlineinherited |
Definition at line 107 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fSampledInteractionLength.
Referenced by G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength().
|
inlinevirtualinherited |
Reimplemented in G4ILawCommonTruncatedExp.
Definition at line 90 of file G4VBiasingInteractionLaw.hh.
Referenced by G4ILawCommonTruncatedExp::IsEffectiveCrossSectionInfinite(), and G4BiasingProcessInterface::PostStepDoIt().
|
inlinevirtual |
Reimplemented from G4VBiasingInteractionLaw.
Definition at line 58 of file G4ILawTruncatedExp.hh.
References fIsSingular.
Referenced by G4ILawCommonTruncatedExp::IsSingular().
|
inlineinherited |
Definition at line 97 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fSampledInteractionLength, and G4VBiasingInteractionLaw::SampleInteractionLength().
Referenced by G4BOptnChangeCrossSection::Sample(), and G4BOptnForceCommonTruncatedExp::Sample().
|
virtual |
Implements G4VBiasingInteractionLaw.
Definition at line 89 of file G4ILawTruncatedExp.cc.
References fCrossSection, fCrossSectionDefined, fInteractionDistance, fMaximumDistance, G4Exception(), G4UniformRand, and JustWarning.
Referenced by G4ILawCommonTruncatedExp::SampleInteractionLength().
void G4ILawTruncatedExp::SetForceCrossSection | ( | G4double | xs | ) |
Definition at line 42 of file G4ILawTruncatedExp.cc.
References fCrossSection, fCrossSectionDefined, fIsSingular, G4Exception(), and JustWarning.
Referenced by G4ILawCommonTruncatedExp::SetForceCrossSection().
|
inline |
Definition at line 64 of file G4ILawTruncatedExp.hh.
References fMaximumDistance.
Referenced by G4ILawCommonTruncatedExp::SetMaximumDistance().
Definition at line 102 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fSampledInteractionLength, and G4VBiasingInteractionLaw::UpdateInteractionLengthForStep().
Referenced by G4BOptnForceCommonTruncatedExp::UpdateForStep(), and G4BOptnChangeCrossSection::UpdateForStep().
Reimplemented from G4VBiasingInteractionLaw.
Definition at line 105 of file G4ILawTruncatedExp.cc.
References fInteractionDistance, fMaximumDistance, G4endl, G4Exception(), G4VBiasingInteractionLaw::GetName(), and JustWarning.
Referenced by G4ILawCommonTruncatedExp::UpdateInteractionLengthForStep().
|
private |
Definition at line 70 of file G4ILawTruncatedExp.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), SampleInteractionLength(), and SetForceCrossSection().
|
private |
Definition at line 71 of file G4ILawTruncatedExp.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), SampleInteractionLength(), and SetForceCrossSection().
|
private |
Definition at line 73 of file G4ILawTruncatedExp.hh.
Referenced by GetInteractionDistance(), SampleInteractionLength(), and UpdateInteractionLengthForStep().
|
private |
Definition at line 72 of file G4ILawTruncatedExp.hh.
Referenced by IsSingular(), and SetForceCrossSection().
|
private |
Definition at line 69 of file G4ILawTruncatedExp.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), GetMaximumDistance(), SampleInteractionLength(), SetMaximumDistance(), and UpdateInteractionLengthForStep().
|
privateinherited |
Definition at line 111 of file G4VBiasingInteractionLaw.hh.
Referenced by G4VBiasingInteractionLaw::GetName().
|
privateinherited |
Definition at line 112 of file G4VBiasingInteractionLaw.hh.
Referenced by G4VBiasingInteractionLaw::GetSampledInteractionLength(), G4VBiasingInteractionLaw::Sample(), and G4VBiasingInteractionLaw::UpdateForStep().