Geant4  10.02.p02
G4ILawTruncatedExp Class Reference

#include <G4ILawTruncatedExp.hh>

+ Inheritance diagram for G4ILawTruncatedExp:
+ Collaboration diagram for G4ILawTruncatedExp:

Public Member Functions

 G4ILawTruncatedExp (G4String name="expForceInteractionLaw")
 
virtual ~G4ILawTruncatedExp ()
 
virtual G4double ComputeEffectiveCrossSectionAt (G4double length) const
 
virtual G4double ComputeNonInteractionProbabilityAt (G4double length) const
 
virtual G4double SampleInteractionLength ()
 
virtual G4double UpdateInteractionLengthForStep (G4double truePathLength)
 
virtual G4bool IsSingular () const
 
void SetForceCrossSection (G4double xs)
 
void SetMaximumDistance (G4double d)
 
G4double GetMaximumDistance () const
 
G4double GetInteractionDistance () const
 
- Public Member Functions inherited from G4VBiasingInteractionLaw
 G4VBiasingInteractionLaw (G4String name)
 
virtual ~G4VBiasingInteractionLaw ()
 
const G4StringGetName () const
 
virtual G4bool IsEffectiveCrossSectionInfinite () const
 
G4double Sample ()
 
G4double UpdateForStep (G4double truePathLength)
 
G4double GetSampledInteractionLength () const
 

Private Attributes

G4double fMaximumDistance
 
G4double fCrossSection
 
G4double fCrossSectionDefined
 
G4bool fIsSingular
 
G4double fInteractionDistance
 

Additional Inherited Members

Detailed Description

Definition at line 46 of file G4ILawTruncatedExp.hh.

Constructor & Destructor Documentation

G4ILawTruncatedExp::G4ILawTruncatedExp ( G4String  name = "expForceInteractionLaw")

Definition at line 31 of file G4ILawTruncatedExp.cc.

G4ILawTruncatedExp::~G4ILawTruncatedExp ( )
virtual

Definition at line 39 of file G4ILawTruncatedExp.cc.

Member Function Documentation

G4double G4ILawTruncatedExp::ComputeEffectiveCrossSectionAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 58 of file G4ILawTruncatedExp.cc.

References fCrossSection, fCrossSectionDefined, fMaximumDistance, G4Exception(), and JustWarning.

Referenced by G4ILawCommonTruncatedExp::ComputeEffectiveCrossSectionAt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ILawTruncatedExp::ComputeNonInteractionProbabilityAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 73 of file G4ILawTruncatedExp.cc.

References fCrossSection, fCrossSectionDefined, fMaximumDistance, G4Exception(), and JustWarning.

Referenced by G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ILawTruncatedExp::GetInteractionDistance ( ) const
inline

Definition at line 67 of file G4ILawTruncatedExp.hh.

References fInteractionDistance.

Referenced by G4ILawCommonTruncatedExp::GetInteractionDistance().

+ Here is the caller graph for this function:

G4double G4ILawTruncatedExp::GetMaximumDistance ( ) const
inline

Definition at line 66 of file G4ILawTruncatedExp.hh.

References fMaximumDistance.

Referenced by G4ILawCommonTruncatedExp::GetMaximumDistance().

+ Here is the caller graph for this function:

virtual G4bool G4ILawTruncatedExp::IsSingular ( ) const
inlinevirtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 59 of file G4ILawTruncatedExp.hh.

References fIsSingular.

Referenced by G4ILawCommonTruncatedExp::IsSingular().

+ Here is the caller graph for this function:

G4double G4ILawTruncatedExp::SampleInteractionLength ( )
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 89 of file G4ILawTruncatedExp.cc.

References fCrossSection, fCrossSectionDefined, fInteractionDistance, fMaximumDistance, G4Exception(), G4UniformRand, and JustWarning.

Referenced by G4ILawCommonTruncatedExp::SampleInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ILawTruncatedExp::SetForceCrossSection ( G4double  xs)

Definition at line 42 of file G4ILawTruncatedExp.cc.

References fCrossSection, fCrossSectionDefined, fIsSingular, G4Exception(), and JustWarning.

Referenced by G4ILawCommonTruncatedExp::SetForceCrossSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ILawTruncatedExp::SetMaximumDistance ( G4double  d)
inline

Definition at line 65 of file G4ILawTruncatedExp.hh.

References fMaximumDistance.

Referenced by G4ILawCommonTruncatedExp::SetMaximumDistance().

+ Here is the caller graph for this function:

G4double G4ILawTruncatedExp::UpdateInteractionLengthForStep ( G4double  truePathLength)
virtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 105 of file G4ILawTruncatedExp.cc.

References fInteractionDistance, fMaximumDistance, G4endl, G4Exception(), G4VBiasingInteractionLaw::GetName(), and JustWarning.

Referenced by G4ILawCommonTruncatedExp::UpdateInteractionLengthForStep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4ILawTruncatedExp::fCrossSection
private
G4double G4ILawTruncatedExp::fCrossSectionDefined
private
G4double G4ILawTruncatedExp::fInteractionDistance
private
G4bool G4ILawTruncatedExp::fIsSingular
private

Definition at line 73 of file G4ILawTruncatedExp.hh.

Referenced by IsSingular(), and SetForceCrossSection().


The documentation for this class was generated from the following files: