Geant4
10.01.p03
|
#include <G4InteractionLawPhysical.hh>
Public Member Functions | |
G4InteractionLawPhysical (G4String name="exponentialLaw") | |
virtual | ~G4InteractionLawPhysical () |
void | SetPhysicalCrossSection (G4double crossSection) |
G4double | GetPhysicalCrossSection () const |
virtual G4double | ComputeEffectiveCrossSectionAt (G4double length) const |
virtual G4double | ComputeNonInteractionProbabilityAt (G4double length) const |
virtual G4double | SampleInteractionLength () |
virtual G4double | UpdateInteractionLengthForStep (G4double truePathLength) |
Public Member Functions inherited from G4VBiasingInteractionLaw | |
G4VBiasingInteractionLaw (G4String name) | |
virtual | ~G4VBiasingInteractionLaw () |
const G4String & | GetName () const |
virtual G4bool | IsSingular () const |
virtual G4bool | IsEffectiveCrossSectionInfinite () const |
G4double | Sample () |
G4double | UpdateForStep (G4double truePathLength) |
G4double | GetSampledInteractionLength () const |
Private Attributes | |
G4double | fCrossSection |
G4bool | fCrossSectionDefined |
G4double | fNumberOfInteractionLength |
Additional Inherited Members |
Definition at line 45 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().
|
inline |
Definition at line 53 of file G4InteractionLawPhysical.hh.
References fCrossSection.
Referenced by G4BOptnChangeCrossSection::GetBiasedCrossSection().
|
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().
|
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 65 of file G4InteractionLawPhysical.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), GetPhysicalCrossSection(), SampleInteractionLength(), SetPhysicalCrossSection(), and UpdateInteractionLengthForStep().
|
private |
Definition at line 66 of file G4InteractionLawPhysical.hh.
Referenced by ComputeEffectiveCrossSectionAt(), ComputeNonInteractionProbabilityAt(), SampleInteractionLength(), and SetPhysicalCrossSection().
|
private |
Definition at line 67 of file G4InteractionLawPhysical.hh.
Referenced by SampleInteractionLength(), and UpdateInteractionLengthForStep().