Geant4  10.00.p02
G4InteractionLawPhysical Class Reference

#include <G4InteractionLawPhysical.hh>

+ Inheritance diagram for G4InteractionLawPhysical:
+ Collaboration diagram for G4InteractionLawPhysical:

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 G4StringGetName () 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

Detailed Description

Definition at line 45 of file G4InteractionLawPhysical.hh.

Constructor & Destructor Documentation

G4InteractionLawPhysical::G4InteractionLawPhysical ( G4String  name = "exponentialLaw")

Definition at line 29 of file G4InteractionLawPhysical.cc.

G4InteractionLawPhysical::~G4InteractionLawPhysical ( )
virtual

Definition at line 36 of file G4InteractionLawPhysical.cc.

Member Function Documentation

G4double G4InteractionLawPhysical::ComputeEffectiveCrossSectionAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 53 of file G4InteractionLawPhysical.cc.

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

Referenced by G4BiasingProcessInterface::PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InteractionLawPhysical::ComputeNonInteractionProbabilityAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 62 of file G4InteractionLawPhysical.cc.

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

Referenced by G4BiasingProcessInterface::AlongStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InteractionLawPhysical::GetPhysicalCrossSection ( ) const
inline

Definition at line 53 of file G4InteractionLawPhysical.hh.

References fCrossSection.

Referenced by G4BOptnChangeCrossSection::GetBiasedCrossSection().

+ Here is the caller graph for this function:

G4double G4InteractionLawPhysical::SampleInteractionLength ( )
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 73 of file G4InteractionLawPhysical.cc.

References DBL_MAX, FatalException, fCrossSection, fCrossSectionDefined, fNumberOfInteractionLength, G4Exception(), and G4UniformRand.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InteractionLawPhysical::UpdateInteractionLengthForStep ( G4double  truePathLength)
virtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 86 of file G4InteractionLawPhysical.cc.

References fCrossSection, fNumberOfInteractionLength, G4endl, G4Exception(), G4VBiasingInteractionLaw::GetName(), and JustWarning.

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4InteractionLawPhysical::fCrossSectionDefined
private
G4double G4InteractionLawPhysical::fNumberOfInteractionLength
private

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