Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VBiasingInteractionLaw Class Referenceabstract

#include <G4VBiasingInteractionLaw.hh>

+ Inheritance diagram for G4VBiasingInteractionLaw:

Public Member Functions

 G4VBiasingInteractionLaw (const G4String &name)
 
virtual ~G4VBiasingInteractionLaw ()=default
 
const G4StringGetName () const
 
virtual G4double ComputeNonInteractionProbabilityAt (G4double length) const =0
 
virtual G4double ComputeEffectiveCrossSectionAt (G4double length) const =0
 
virtual G4bool IsSingular () const
 
virtual G4bool IsEffectiveCrossSectionInfinite () const
 
G4double Sample ()
 
G4double UpdateForStep (G4double truePathLength)
 
G4double GetSampledInteractionLength () const
 

Protected Member Functions

virtual G4double SampleInteractionLength ()=0
 
virtual G4double UpdateInteractionLengthForStep (G4double)
 

Detailed Description

Definition at line 53 of file G4VBiasingInteractionLaw.hh.

Constructor & Destructor Documentation

◆ G4VBiasingInteractionLaw()

G4VBiasingInteractionLaw::G4VBiasingInteractionLaw ( const G4String & name)
inline

◆ ~G4VBiasingInteractionLaw()

virtual G4VBiasingInteractionLaw::~G4VBiasingInteractionLaw ( )
virtualdefault

Member Function Documentation

◆ ComputeEffectiveCrossSectionAt()

virtual G4double G4VBiasingInteractionLaw::ComputeEffectiveCrossSectionAt ( G4double length) const
pure virtual

◆ ComputeNonInteractionProbabilityAt()

virtual G4double G4VBiasingInteractionLaw::ComputeNonInteractionProbabilityAt ( G4double length) const
pure virtual

◆ GetName()

◆ GetSampledInteractionLength()

G4double G4VBiasingInteractionLaw::GetSampledInteractionLength ( ) const
inline

Definition at line 88 of file G4VBiasingInteractionLaw.hh.

89 {
90 return fSampledInteractionLength;
91 }

◆ IsEffectiveCrossSectionInfinite()

virtual G4bool G4VBiasingInteractionLaw::IsEffectiveCrossSectionInfinite ( ) const
inlinevirtual

Reimplemented in G4ILawCommonTruncatedExp.

Definition at line 73 of file G4VBiasingInteractionLaw.hh.

73{ return false; }

◆ IsSingular()

virtual G4bool G4VBiasingInteractionLaw::IsSingular ( ) const
inlinevirtual

Reimplemented in G4ILawCommonTruncatedExp, G4ILawForceFreeFlight, and G4ILawTruncatedExp.

Definition at line 71 of file G4VBiasingInteractionLaw.hh.

71{ return false; }

◆ Sample()

G4double G4VBiasingInteractionLaw::Sample ( )
inline

Definition at line 78 of file G4VBiasingInteractionLaw.hh.

79 {
80 fSampledInteractionLength = SampleInteractionLength();
81 return fSampledInteractionLength;
82 }
virtual G4double SampleInteractionLength()=0

◆ SampleInteractionLength()

virtual G4double G4VBiasingInteractionLaw::SampleInteractionLength ( )
protectedpure virtual

◆ UpdateForStep()

G4double G4VBiasingInteractionLaw::UpdateForStep ( G4double truePathLength)
inline

Definition at line 83 of file G4VBiasingInteractionLaw.hh.

84 {
85 fSampledInteractionLength = UpdateInteractionLengthForStep(truePathLength);
86 return fSampledInteractionLength;
87 }
virtual G4double UpdateInteractionLengthForStep(G4double)

◆ UpdateInteractionLengthForStep()

virtual G4double G4VBiasingInteractionLaw::UpdateInteractionLengthForStep ( G4double )
inlineprotectedvirtual

Reimplemented in G4ILawForceFreeFlight, G4ILawTruncatedExp, and G4InteractionLawPhysical.

Definition at line 100 of file G4VBiasingInteractionLaw.hh.

101 { return DBL_MAX; }

Referenced by UpdateForStep().


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