Geant4  10.00.p02
G4ILawCommonTruncatedExp Class Reference

#include <G4ILawCommonTruncatedExp.hh>

+ Inheritance diagram for G4ILawCommonTruncatedExp:
+ Collaboration diagram for G4ILawCommonTruncatedExp:

Public Member Functions

 G4ILawCommonTruncatedExp (G4String name="expSharedForceInteractionLaw")
 
virtual ~G4ILawCommonTruncatedExp ()
 
virtual G4bool IsSingular () const
 
virtual G4bool IsEffectiveCrossSectionInfinite () const
 
virtual G4double ComputeEffectiveCrossSectionAt (G4double length) const
 
virtual G4double ComputeNonInteractionProbabilityAt (G4double length) const
 
void SetNumberOfSharing (G4int n)
 
G4int GetNumberOfSharing () const
 
void SetForceCrossSection (G4double xs)
 
void reset ()
 
void SetMaximumDistance (G4double d)
 
G4double GetMaximumDistance () const
 
G4double GetInteractionDistance () const
 
void SetOperation (G4BOptnForceCommonTruncatedExp *operation)
 
- Public Member Functions inherited from G4VBiasingInteractionLaw
 G4VBiasingInteractionLaw (G4String name)
 
virtual ~G4VBiasingInteractionLaw ()
 
const G4StringGetName () const
 
G4double Sample ()
 
G4double UpdateForStep (G4double truePathLength)
 
G4double GetSampledInteractionLength () const
 

Private Member Functions

virtual G4double SampleInteractionLength ()
 
virtual G4double UpdateInteractionLengthForStep (G4double truePathLength)
 

Private Attributes

G4ILawTruncatedExp fExpInteractionLaw
 
G4int fNumberOfSharing
 
G4bool fFirstUpdateCall
 
G4bool fFirstSamplingCall
 
G4double fInteractionDistance
 
G4BOptnForceCommonTruncatedExpfOperation
 

Additional Inherited Members

Detailed Description

Definition at line 51 of file G4ILawCommonTruncatedExp.hh.

Constructor & Destructor Documentation

G4ILawCommonTruncatedExp::G4ILawCommonTruncatedExp ( G4String  name = "expSharedForceInteractionLaw")

Definition at line 34 of file G4ILawCommonTruncatedExp.cc.

G4ILawCommonTruncatedExp::~G4ILawCommonTruncatedExp ( )
virtual

Definition at line 40 of file G4ILawCommonTruncatedExp.cc.

Member Function Documentation

G4double G4ILawCommonTruncatedExp::ComputeEffectiveCrossSectionAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 44 of file G4ILawCommonTruncatedExp.cc.

References G4ILawTruncatedExp::ComputeEffectiveCrossSectionAt(), fExpInteractionLaw, fOperation, and G4BOptnForceCommonTruncatedExp::GetTriggeredProcessXSfraction().

+ Here is the call graph for this function:

G4double G4ILawCommonTruncatedExp::ComputeNonInteractionProbabilityAt ( G4double  length) const
virtual

Implements G4VBiasingInteractionLaw.

Definition at line 49 of file G4ILawCommonTruncatedExp.cc.

References G4ILawTruncatedExp::ComputeNonInteractionProbabilityAt(), fExpInteractionLaw, fNumberOfSharing, G4endl, G4Exception(), G4VBiasingInteractionLaw::GetName(), and JustWarning.

+ Here is the call graph for this function:

G4double G4ILawCommonTruncatedExp::GetInteractionDistance ( ) const
inline

Definition at line 82 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4ILawTruncatedExp::GetInteractionDistance().

Referenced by G4BOptnForceCommonTruncatedExp::ProposeAlongStepLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ILawCommonTruncatedExp::GetMaximumDistance ( ) const
inline

Definition at line 81 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4ILawTruncatedExp::GetMaximumDistance().

Referenced by G4BOptnForceCommonTruncatedExp::UpdateForStep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ILawCommonTruncatedExp::GetNumberOfSharing ( ) const
inline

Definition at line 77 of file G4ILawCommonTruncatedExp.hh.

References fNumberOfSharing.

Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().

+ Here is the caller graph for this function:

virtual G4bool G4ILawCommonTruncatedExp::IsEffectiveCrossSectionInfinite ( ) const
inlinevirtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 60 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4VBiasingInteractionLaw::IsEffectiveCrossSectionInfinite().

+ Here is the call graph for this function:

virtual G4bool G4ILawCommonTruncatedExp::IsSingular ( ) const
inlinevirtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 58 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4ILawTruncatedExp::IsSingular().

+ Here is the call graph for this function:

void G4ILawCommonTruncatedExp::reset ( )

Definition at line 84 of file G4ILawCommonTruncatedExp.cc.

References fFirstSamplingCall, and fFirstUpdateCall.

Referenced by G4BOptnForceCommonTruncatedExp::Initialize(), and G4BOptnForceCommonTruncatedExp::Sample().

+ Here is the caller graph for this function:

G4double G4ILawCommonTruncatedExp::SampleInteractionLength ( )
privatevirtual

Implements G4VBiasingInteractionLaw.

Definition at line 69 of file G4ILawCommonTruncatedExp.cc.

References DBL_MAX, fExpInteractionLaw, fFirstSamplingCall, fInteractionDistance, and G4ILawTruncatedExp::SampleInteractionLength().

+ Here is the call graph for this function:

void G4ILawCommonTruncatedExp::SetForceCrossSection ( G4double  xs)
inline

Definition at line 78 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4ILawTruncatedExp::SetForceCrossSection().

Referenced by G4BOptnForceCommonTruncatedExp::AddCrossSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ILawCommonTruncatedExp::SetMaximumDistance ( G4double  d)
inline

Definition at line 80 of file G4ILawCommonTruncatedExp.hh.

References fExpInteractionLaw, and G4ILawTruncatedExp::SetMaximumDistance().

Referenced by G4BOptnForceCommonTruncatedExp::Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ILawCommonTruncatedExp::SetNumberOfSharing ( G4int  n)
inline

Definition at line 76 of file G4ILawCommonTruncatedExp.hh.

References fNumberOfSharing, and n.

Referenced by G4BOptnForceCommonTruncatedExp::AddCrossSection().

+ Here is the caller graph for this function:

void G4ILawCommonTruncatedExp::SetOperation ( G4BOptnForceCommonTruncatedExp operation)
inline

Definition at line 83 of file G4ILawCommonTruncatedExp.hh.

References fOperation.

Referenced by G4BOptnForceCommonTruncatedExp::G4BOptnForceCommonTruncatedExp().

+ Here is the caller graph for this function:

G4double G4ILawCommonTruncatedExp::UpdateInteractionLengthForStep ( G4double  truePathLength)
privatevirtual

Reimplemented from G4VBiasingInteractionLaw.

Definition at line 76 of file G4ILawCommonTruncatedExp.cc.

References DBL_MAX, fExpInteractionLaw, fFirstUpdateCall, fInteractionDistance, and G4ILawTruncatedExp::UpdateInteractionLengthForStep().

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4ILawCommonTruncatedExp::fFirstSamplingCall
private

Definition at line 91 of file G4ILawCommonTruncatedExp.hh.

Referenced by reset(), and SampleInteractionLength().

G4bool G4ILawCommonTruncatedExp::fFirstUpdateCall
private

Definition at line 90 of file G4ILawCommonTruncatedExp.hh.

Referenced by reset(), and UpdateInteractionLengthForStep().

G4double G4ILawCommonTruncatedExp::fInteractionDistance
private
G4int G4ILawCommonTruncatedExp::fNumberOfSharing
private
G4BOptnForceCommonTruncatedExp* G4ILawCommonTruncatedExp::fOperation
private

Definition at line 94 of file G4ILawCommonTruncatedExp.hh.

Referenced by ComputeEffectiveCrossSectionAt(), and SetOperation().


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