Geant4-11
|
#include <G4InteractionLawPhysical.hh>
Public Member Functions | |
virtual G4double | ComputeEffectiveCrossSectionAt (G4double length) const |
virtual G4double | ComputeNonInteractionProbabilityAt (G4double length) const |
G4InteractionLawPhysical (G4String name="exponentialLaw") | |
const G4String & | GetName () const |
G4double | GetPhysicalCrossSection () const |
G4double | GetSampledInteractionLength () const |
virtual G4bool | IsEffectiveCrossSectionInfinite () const |
virtual G4bool | IsSingular () const |
G4double | Sample () |
virtual G4double | SampleInteractionLength () |
void | SetPhysicalCrossSection (G4double crossSection) |
G4double | UpdateForStep (G4double truePathLength) |
virtual G4double | UpdateInteractionLengthForStep (G4double truePathLength) |
virtual | ~G4InteractionLawPhysical () |
Private Attributes | |
G4double | fCrossSection |
G4bool | fCrossSectionDefined |
G4String | fName |
G4double | fNumberOfInteractionLength |
G4double | fSampledInteractionLength |
Definition at line 44 of file G4InteractionLawPhysical.hh.
G4InteractionLawPhysical::G4InteractionLawPhysical | ( | G4String | name = "exponentialLaw" | ) |
Definition at line 29 of file G4InteractionLawPhysical.cc.
|
virtual |
Definition at line 36 of file G4InteractionLawPhysical.cc.
Implements G4VBiasingInteractionLaw.
Definition at line 53 of file G4InteractionLawPhysical.cc.
References fCrossSection, fCrossSectionDefined, G4Exception(), and JustWarning.
Referenced by G4BiasingProcessInterface::PostStepDoIt().
|
virtual |
Implements G4VBiasingInteractionLaw.
Definition at line 62 of file G4InteractionLawPhysical.cc.
References fCrossSection, fCrossSectionDefined, G4Exception(), and JustWarning.
Referenced by G4BiasingProcessInterface::AlongStepDoIt().
|
inlineinherited |
Definition at line 67 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fName.
Referenced by G4BiasingProcessInterface::AlongStepDoIt(), G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt(), G4ILawTruncatedExp::UpdateInteractionLengthForStep(), and UpdateInteractionLengthForStep().
|
inline |
Definition at line 52 of file G4InteractionLawPhysical.hh.
References fCrossSection.
Referenced by G4BOptnChangeCrossSection::GetBiasedCrossSection().
|
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().
|
inlinevirtualinherited |
Reimplemented in G4ILawCommonTruncatedExp, G4ILawForceFreeFlight, and G4ILawTruncatedExp.
Definition at line 88 of file G4VBiasingInteractionLaw.hh.
Referenced by G4BiasingProcessInterface::PostStepDoIt().
|
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 73 of file G4InteractionLawPhysical.cc.
References DBL_MAX, FatalException, fCrossSection, fCrossSectionDefined, fNumberOfInteractionLength, G4Exception(), and G4UniformRand.
void G4InteractionLawPhysical::SetPhysicalCrossSection | ( | G4double | crossSection | ) |
Definition at line 39 of file G4InteractionLawPhysical.cc.
References fCrossSection, fCrossSectionDefined, G4Exception(), and JustWarning.
Referenced by G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength(), and G4BOptnChangeCrossSection::SetBiasedCrossSection().
Definition at line 102 of file G4VBiasingInteractionLaw.hh.
References G4VBiasingInteractionLaw::fSampledInteractionLength, and G4VBiasingInteractionLaw::UpdateInteractionLengthForStep().
Referenced by G4BOptnForceCommonTruncatedExp::UpdateForStep(), and G4BOptnChangeCrossSection::UpdateForStep().
|
virtual |
Reimplemented from G4VBiasingInteractionLaw.
Definition at line 86 of file G4InteractionLawPhysical.cc.
References fCrossSection, fNumberOfInteractionLength, G4endl, G4Exception(), G4VBiasingInteractionLaw::GetName(), and JustWarning.
|
private |
Definition at line 64 of file G4InteractionLawPhysical.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), GetPhysicalCrossSection(), SampleInteractionLength(), SetPhysicalCrossSection(), and UpdateInteractionLengthForStep().
|
private |
Definition at line 65 of file G4InteractionLawPhysical.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), SampleInteractionLength(), and SetPhysicalCrossSection().
|
privateinherited |
Definition at line 111 of file G4VBiasingInteractionLaw.hh.
Referenced by G4VBiasingInteractionLaw::GetName().
|
private |
Definition at line 66 of file G4InteractionLawPhysical.hh.
Referenced by SampleInteractionLength(), and UpdateInteractionLengthForStep().
|
privateinherited |
Definition at line 112 of file G4VBiasingInteractionLaw.hh.
Referenced by G4VBiasingInteractionLaw::GetSampledInteractionLength(), G4VBiasingInteractionLaw::Sample(), and G4VBiasingInteractionLaw::UpdateForStep().